Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./docker/docker-compose-check.sh: line 3: docker: command not found #11136

Open
1 of 3 tasks
GurdipS5 opened this issue Oct 27, 2024 · 3 comments
Open
1 of 3 tasks

./docker/docker-compose-check.sh: line 3: docker: command not found #11136

GurdipS5 opened this issue Oct 27, 2024 · 3 comments

Comments

@GurdipS5
Copy link

Slack us first!
The easiest and fastest way to help you is via Slack. There's a free and easy signup to join our #defectdojo channel in the OWASP Slack workspace: Get Access.
If you're confident you've found a bug, or are allergic to Slack, you can submit an issue anyway.

Hi, I am trying to install Defect Dojo on Ubuntu Server 22.0. However, I get this:

./docker/docker-compose-check.sh: line 3: docker: command not found
./docker/docker-compose-check.sh: line 4: docker: command not found
./docker/docker-compose-check.sh: line 5: docker: command not found

Where is this file meant to come from?

This can be reproduced by using docker compose on an Ubuntu Server

Deployment method (select with an X)

  • Docker Compose
  • Kubernetes
  • GoDojo

Environment information

  • Operating System: [e.g. Ubuntu 18.04]
  • DefectDojo version (see footer) or commit message: [use git show -s --format="[%ci] %h: %s [%d]"]

Logs
Use docker compose logs (or similar, depending on your deployment method) to get the logs and add the relevant sections here showing the error occurring (if applicable).

Sample scan files
If applicable, add sample scan files to help reproduce your problem.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context (optional)
Add any other context about the problem here.

@kiblik
Copy link
Contributor

kiblik commented Oct 28, 2024

Hi @GurdipS5,
do you have installed docker on your computer?

@GurdipS5
Copy link
Author

I did. But I tried the gdojo install instead. Now I get the attached screenshot:

image

@mtesauro
Copy link
Contributor

@GurdipS5 If by "gdojo" you mean the godojo installer I would strongly recommend NOT using that and I'm the one that created the godojo installer.

You will own the problem of weekly updates (assuming you want to track DefectDojo releases) or any updates as that process is 💯 manual for iron installs. We (the maintainers of DefectDojo) have been considering deprecating iron / godojo as an install method because it's not a great or robust way to install DefectDojo especially compared to Docker Compose. If you go with Docker Compose, you only have to update the image references and restart compose to update DefectDojo. I do it weekly for the public demo and it takes me ~5 minutes.

Most of those errors in the screenshot look like missing libraries / Linux packages which is something you don't have to mess with if you use the Docker containers and Compose.

Have you looked at this community contribution? It might help you sort out your Compose issues:
https://github.com/DefectDojo/Community-Contribs/tree/master/CentOS-7-deploy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants