Repository navigation
|
I'm trying to migrate a project from Minimal working exampleContainerfilePodmanI observe podman build --progress plain -t mycowsay2 .failing with DockerWhen using Docker instead of Podman, i.e. docker build --progress plain -t mycowsay2 .I observed the expected successful run QuestionWhy is Podman behaving different than Docker in the above minimal working example? EnvironmentPodman
Docker
|
Replies: 2 comments 1 reply
|
The output seems to suggest a network issue for the container, can you use a minimal Containerfile example that just tries to curl a exmaple site somewhere to make sure this works? Are you running podman as root or rootless? If you run docker on the same system it generally blocks all other forwarded network traffic https://fedoraproject.org/wiki/Changes/NetavarkNftablesDefault#Known_Issue_with_docker WSL itself is also known to have various networking issues. |
|
This is caused when we mix WSL + Podman + musl. I was not able to reproduce it in a "bare metal" GNU/Linux machine. WSL + PodmanglibcmuslWSL + DockerglibcmuslPodmanglibcmusl |
The output seems to suggest a network issue for the container, can you use a minimal Containerfile example that just tries to curl a exmaple site somewhere to make sure this works?
Are you running podman as root or rootless? If you run docker on the same system it generally blocks all other forwarded network traffic https://fedoraproject.org/wiki/Changes/NetavarkNftablesDefault#Known_Issue_with_docker
So rootful podman networking gets blocked by the docker rules.
WSL itself is also known to have various networking issues.