https://bugzilla.redhat.com/show_bug.cgi?id=1033606
--- Comment #6 from Marek Goldmann mgoldman@redhat.com --- After boot I cannot connect to the Internet from container, but when I do:
systemctl restart firewalld systemctl restart docker
then I can. Restarting docker service alone does not help. Adding hard requires to docker systemd file in the [Unit] section:
Requires=firewalld.service
doesn't help either. BTW, we should add "Wants=firewalld.service" to make sure the firewalld service is started before Docker, if it's available.
I suspect that the issue is in the time which is needed to create all the required devices. If we add:
ExecStartPre=/usr/bin/sleep 3
to the [Service] section makes it possible to connect to the Internet from the container. Even 1s is sufficient on my system.