Hi, I don’t understand what happens inside my docker
If I run busybox for testing:
docker run busybox:1.28 nslookup google.com
it working fine, and any other command also working fine like ping my gaeway and so on, but only in busybox:1.28 (and not working at all in busybox:latest !!! - why?)
Ubuntu not working in my docker host at all, unfortunately I need exactly Ubuntu:xenial as base (busybox I used only as check my bridge and default docker configuration)
Now I have not access to any Ubuntu repository, of course this is problem of stupid distribution Ubuntu:xenial without any must have network utilities like ping, nslookup, curl, git, wget and so on.
I have understanding that my first step is read repository to cache, because layer 3 in ubuntu:xenial preparation is exactly clear any cache of repository rm -rf /var/lib/apt/lists/
And now when I try build repository from this simple test file
FROM ubuntu:xenial
RUN apt-get update
&& install iputils-ping
I received only cyrcle of similar message
ignXXX: https://archive.ubuntu.com/ubuntu YYYY ZZZZ
and finally
Reading package lists…
W: The repository ‘htt p://security.ubuntu.com/ubuntu xenial-security Release’ does not have a Release file.
W: The repository ‘htt p://archive.ubuntu.com/ubuntu xenial Release’ does not have a Release file.
W: The repository ‘htt p://archive.ubuntu.com/ubuntu xenial-updates Release’ does not have a Release file.
W: The repository ‘htt p://archive.ubuntu.com/ubuntu xenial-backports Release’ does not have a Release file.
E: Failed to fetch htt p://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-amd64/Packages Connection failed [IP: 91.189.91.38 80]
E: Failed to fetch htt p://archive.ubuntu.com/ubuntu/dists/xenial/main/binary-amd64/Packages Connection failed [IP: 91.189.88.152 80]
E: Failed to fetch htt p://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-amd64/Packages Connection failed [IP: 91.189.88.152 80]
E: Failed to fetch htt p://archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-amd64/Packages Connection failed [IP: 91.189.88.152 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
I don’t understand how to fix this issue, sorry.