docker-compose-development icon indicating copy to clipboard operation
docker-compose-development copied to clipboard

Setup error - Windows 10 with WSL2

Open xdosil opened this issue 2 years ago • 7 comments

When I start the setup option, always show the same message and the containers couldn't been created: Error response from daemon: Invalid network mode: invalid container format container:<name|id>

Did anyone know to solve? Thanks!

xdosil avatar Apr 13 '22 16:04 xdosil

It looks like a problem in WSL2, IIRC the commands you run in WSL are send to the host(Windows Docker Service)

You could take a look at the https://github.com/JeroenBoersma/docker-compose-development/tree/development-docker-compose-2 branch, I do not have a WSL laying around ATM to test this.

It could be that WSL2 + docker is advanced enough to run the latest branch. Bigest change in that branch is the networking part.

Let me know if anything chages

JeroenBoersma avatar Apr 13 '22 19:04 JeroenBoersma

Thanks for your quick response, but, Didn't work for me. The same problem persist. :(

xdosil avatar Apr 14 '22 12:04 xdosil

Thanks for your quick response, but, Didn't work for me. The same problem persist. :(

Before installing using the branch he indicated, did you remove all containers, images and volumes? if not, do so, and then re-install everything from scratch with the branch he indicated.

esjdev avatar Apr 14 '22 12:04 esjdev

Hi @esjdev,

Thanks for your response.

How you tell, before install I removed all the volumes and images. I will try again, to be sure and I will tell you anything.

Thanks!

xdosil avatar Apr 14 '22 12:04 xdosil

Nop. Always the same error.... imagen

xdosil avatar Apr 14 '22 14:04 xdosil

As mentioned here and totally overlookied... I fixed a bug related to MySQL.. .maybe it is related to this... Maybe this also solves your error. Maybe this is something else, but then I should have more information :)

https://github.com/JeroenBoersma/docker-compose-development/issues/165#issuecomment-1200405928

JeroenBoersma avatar Jul 31 '22 11:07 JeroenBoersma