Podman build cannot access internet using passt #23924
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
network
Networking related issue or feature
Issue Description
We are unable to connect to the internet during the build stage.
However we can connect to the internet after it is already built and running.
Steps to reproduce the issue
docker build --no-cache -t test:latest .
Describe the results you received
The build stage is not able to connect to the internet as evident by:
Describe the results you expected
I expected to be able to connect to the internet and perform an
apt update
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
If
sudo docker build --no-cache -t test:latest .
is ran then the build can connect to the internet and complete successfully.Using a prebuild container we are able to connect to the internet and perform a
sudo apt update
.To debug we tried isolate the problem by testing for DNS by using the following dockerfile:
and produced the following results:
But it seems to be a complete network connectivity issue, not just DNS.
slirp4netns
instead ofpasst
the issue is resolvedThe text was updated successfully, but these errors were encountered: