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-Compose ('name' was unexpected) fix #247

Closed
erd0spy opened this issue May 17, 2022 · 6 comments
Closed

Docker-Compose ('name' was unexpected) fix #247

erd0spy opened this issue May 17, 2022 · 6 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation Installation Installation issues

Comments

@erd0spy
Copy link

erd0spy commented May 17, 2022

I got docker-compose name error on updated Ubuntu 20.04 while installing.

According to the solution I found on stackoverflow, adding this to the install script will fix the problem:

sudo curl -L https://github.com/docker/compose/releases/download/1.28.5/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

Referance:
https://stackoverflow.com/questions/58155523/unable-to-give-network-name-in-docker-compose

@m-1-k-3 m-1-k-3 added bug Something isn't working Installation Installation issues labels May 17, 2022
@m-1-k-3
Copy link
Member

m-1-k-3 commented May 17, 2022

Thank you for the report. I will take a look at it.
Important: We only test and support EMBA on Kali Linux.

@m-1-k-3
Copy link
Member

m-1-k-3 commented May 18, 2022

Have you got the following warning during installation?

image

Probably we should print more details here. But this check indicates that your docker-compose environment is outdated. I will improve this message

@m-1-k-3
Copy link
Member

m-1-k-3 commented May 18, 2022

@erd0spy
Copy link
Author

erd0spy commented May 18, 2022

Sorry, I forgot to take a screenshot, I saw this output here and continued, after docker successfully pull the image it gave docker-compose name error.

@m-1-k-3 m-1-k-3 added the documentation Improvements or additions to documentation label May 18, 2022
@m-1-k-3 m-1-k-3 self-assigned this May 18, 2022
p4cx added a commit that referenced this issue May 19, 2022
@p4cx
Copy link
Member

p4cx commented May 19, 2022

I checked the docker-compose version in the package archives and it's 1.25.0: https://packages.ubuntu.com/focal/docker-compose

EMBA uses some features of docker-compose, which were introduced in a more modern version and at the moment you have to use docker-compose 1.28.5 or higher to be able to use EMBA.

To get the best experience with EMBA, please use a modern Kali Linux. Alternatively, you can install a higher version of docker-compose manually and try it again. But if you want to try the second option, we can't support you. Have fun with EMBA 👍

@p4cx p4cx closed this as completed May 19, 2022
@m-1-k-3
Copy link
Member

m-1-k-3 commented May 19, 2022

I did a check with the mentioned workaround from the initial post and EMBA works fine on the Ubuntu 20.04-LTS. The improved note during installation is already merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation Installation Installation issues
Projects
None yet
Development

No branches or pull requests

3 participants