Docker Community Forums

Share and learn in the Docker community.

Ubuntu 16+ cannot install new packages

(Exm1110b) #1

after pulling ubuntu docker images 16 and 18, apt-get fails with:
Err:1 xenial-security InRelease
Could not resolve
Err:2 xenial InRelease
Could not resolve
Err:3 xenial-updates InRelease
Could not resolve
Err:4 xenial-backports InRelease
Could not resolve

ubuntu 14 OTOH is working,
it seems the entire networking stack on those images is failing, none of the networking services is working either.

(Rubendario) #2

i ran a dockerfile with ubuntu 16.04 then apt-get and i did not have any problem. Check again.

(Exm1110b) #3

i removed docker, and instsalled it again deleting everything, seems to be working now, no idea why it didn’t before.