From 2c6351724b6cab5f584a9dd9dbac86b6ca4c6fab Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Tue, 7 Jul 2020 11:09:20 +0100 Subject: [PATCH] Document how to make firewalld work on Fedora with bridged networking `firewalld` doesn't allow DNS requests (this is the case that bit me, but there might be more) on `docker0` unless the interface is added to the trusted zone. See: https://github.com/docker/for-linux/issues/955 Fixes: https://github.com/sickcodes/Docker-OSX/issues/56 Signed-off-by: Juan Cruz Viotti --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index ade1266..039c7cf 100644 --- a/README.md +++ b/README.md @@ -160,6 +160,15 @@ sudo nohup dockerd & ``` +If you have no internet connectivity from the VM, you are using bridge +networking, and you are running Fedora: + +``` +# Set the docker0 bridge to the trusted zone +sudo firewall-cmd --permanent --zone=trusted --add-interface=docker0 +sudo firewall-cmd --reload +``` + # Backup the disk your image will be stored in: