mjlbach
(Michael Lingelbach)
April 17, 2020, 11:23pm
1
Hi all,
Just upgraded to F32, I still rely on docker over podman and have recently noticed network issues while building containers.
Step 12/32 : SHELL ["/bin/bash", "-c"]
---> Using cache
---> 9d7bfe7ca9a8
Step 13/32 : RUN apt-get update && apt-get install -y --no-install-recommends build-essential cuda-command-line-tools-10-1 libcublas10=10.2.1.243-1 libcublas-dev=10.2.1.243-1 cuda-nvrtc-10-1 cuda-nvrtc-dev-10-1 cuda-cudart-dev-10-1 cuda-cufft-dev-10-1 cuda-curand-dev-10-1 cuda-cusolver-dev-10-1 cuda-cusparse-dev-10-1 libcudnn7=${CUDNN}+cuda${CUDA} libcudnn7-dev=${CUDNN}+cuda${CUDA} libcurl3-dev libfreetype6-dev libhdf5-serial-dev libzmq3-dev pkg-config rsync software-properties-common unzip zip zlib1g-dev wget git && find /usr/local/cuda-${CUDA}/lib64/ -type f -name 'lib*_static.a' -not -name 'libcudart_static.a' -delete && rm /usr/lib/${LIB_DIR_PREFIX}-linux-gnu/libcudnn_static_v7.a
---> Running in c29da4353d1a
Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease
Temporary failure resolving 'developer.download.nvidia.com'
Err:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:4 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 InRelease
Temporary failure resolving 'developer.download.nvidia.com'
Err:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Temporary failure resolving 'archive.ubuntu.com'
Similarly,
❯ docker run --dns 8.8.8.8 busybox nslookup google.com
;; connection timed out; no servers could be reached
nslookup: write to '8.8.8.8': No route to host
Strangely, this is resolved by using the --host flag. Has anyone else noticed issues?
1 Like
mershl
(Mershl)
April 18, 2020, 11:42am
2
mjlbach
(Michael Lingelbach)
April 18, 2020, 5:42pm
3
Thanks for the tip, it looks like this is not the cause because my /etc/nsswitch.conf
is set correctly. See:
# passwd: db files
# shadow: db files
# group: db files
shadow: files sss
hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname
1 Like
cdamian
(Christof Damian)
April 28, 2020, 8:09pm
4
Did you find a solution to this? I wonder if it is related to selinux.
I just upgraded to Fedora 32 and neither Docker CE nor Moby Engine can connect to external servers.
1 Like
mkl
(Michal Vanko)
April 28, 2020, 8:57pm
5
I have similar issue where my containers are not able to talk to each other on the same docker network.
I can fix this issue by turning firewall.d
service after I run docker-compose up
.
2 Likes
mjlbach
(Michael Lingelbach)
April 28, 2020, 9:54pm
6
It’s not really a fix, but --network=host during docker builds seems to work
cdamian
(Christof Damian)
April 29, 2020, 7:39am
7
That helped. I changed the firewall zone for docker0 to “libvirt” and that did the trick.
Thanks for the help!
hhlp
(Héctor Louzao)
May 7, 2020, 10:48am
9
Please follow this treath in reference section.
Just noticed that Docker container have no internet connectivity after upgrade to Fedora 32. User needs to add docker network interface to trusted firewall zone. I hope official package will keep this in mind and configure firewalld accordingly.
WORKAROUND
while running docker run with --network=host is also worked for me as I don’t want to update those firewalls manually. will wait to hear if this can be reolved soon in latest repos which supports fedora32.
REFERENCES
opened 05:51PM - 16 Mar 20 UTC
closed 12:05PM - 18 Sep 20 UTC
* [ ] This is a bug report
* [x] This is a feature request
* [x] I searched ex… isting issues before opening this one
The Docker-CE Fedora repository is the recommend way to install [recommended way](https://docs.docker.com/install/linux/docker-ce/fedora/#install-using-the-repository). It has many benefits over installing from a package or any other method.
Fedora also releases a new version every six months. The Fedora repository also takes a very long time to become ready after the release of a new version, with many issues being opened after each recent Fedora is release.
Fedora has officially branched Version 32 February 11/2020 and might have a beta release on March 17/2020.
I'm filing this issue to hopefully put this task on the radar, so that there might be a repository set up in time for the Fedora 32 release cycle....
### NOTE
Some of us migrate when the beta version is ready so we have to disable the repository and wait for it to be ready
Release Schedule: https://fedorapeople.org/groups/schedule/f-32/f-32-key-tasks.html
Regards.,
Regards.,
1 Like
hhlp
(Héctor Louzao)
May 7, 2020, 10:51am
10
This is for the HOST not for the Container
seevee
(Chris Vincent)
August 4, 2020, 7:40pm
11
I was able to fix it by changing the firewall zone with sudo firewall-cmd --change-interface=docker0 --zone=libvirt
.
2 Likes