Hi!
I used distrobuilder to create a simple, basic bullseye image. I then created a container with it that I configured.
In the running container, the network is working fine. I can do DNS request (e.g. ping resolves names) and /etc/resolv.conf is configured (manually).
I wanted to install openssh-server, so I first tried to update the repos witg apt update
(as root). Alas, apt
strangely can’t do any DNS request and I’m stuck with:
Err:1 http://deb.debian.org/debian bullseye InRelease
Temporary failure resolving 'deb.debian.org'
Err:2 http://deb.debian.org/debian bullseye-updates InRelease
Temporary failure resolving 'deb.debian.org'
Err:3 http://deb.debian.org/debian-security bullseye-security InRelease
Temporary failure resolving 'deb.debian.org'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://deb.debian.org/debian/dists/bullseye/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/bullseye-updates/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian-security/dists/bullseye-security/InRelease Temporary failure resolving 'deb.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Do you have any idea why this is happening? Let me know if you need any more info.
Thanks