Replies: 6 comments
-
This looks like it's trying to use a Linux image in Windows Container mode. You should switch your Docker Desktop to use Linux images. |
Beta Was this translation helpful? Give feedback.
-
Hey I understand that and I have done all the WSL set up stuff necessary to run Docker Desktop with the Linux kernel. Please see the workaround section of my issue, I used an older image and it runs just fine. |
Beta Was this translation helpful? Give feedback.
-
What happens if you try this tag instead? |
Beta Was this translation helpful? Give feedback.
-
That does work actually 🤔 I wonder why it would have behaved differently if judging from the tags on dockerhub 6 and 5 can be built for the same architectures. Is your suggestion to set the environment variable in the WSL environment or on the windows host? |
Beta Was this translation helpful? Give feedback.
-
I believe you need to set it in the WSL environment. |
Beta Was this translation helpful? Give feedback.
-
And as to what changed, the older tags were in the docker manifest format while the newer one are using the OCI standard for storing the image. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
When running the example docker-compose from https://hub.docker.com/_/mongo docker-compose fails with
docker-compose.yml (copied from above link)
Architecture
Running opensuse in WSL 2
Workaround
Using mongodb with a lower version tag (5) and mongo-express as well (1.0.2-20-alpine3.19).
Expected
Mongodb and mongo-express example works out of the box.
Beta Was this translation helpful? Give feedback.
All reactions