Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

CentOS 7 fix for letting containers reach other containers on the same host:

From https://github.com/moby/moby/issues/16137#issuecomment-271615192

nmcli connection modify docker0 connection.zone trusted
systemctl stop NetworkManager.service
firewall-cmd --permanent --zone=trusted --change-interface=docker0
systemctl start NetworkManager.service
nmcli connection modify docker0 connection.zone trusted
systemctl restart docker.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.