Answers for "docker-containers-noroutetohostexception-host-is-unreachable"

0

docker-containers-noroutetohostexception-host-is-unreachable

# Allows container to container communication, the solution to the problem
firewall-cmd --zone=public --add-masquerade --permanent

# standard http & https stuff
firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --zone=public --add-port=443/tcp --permanent
# + any other port you may need

# reload the firewall
firewall-cmd --reload
Posted by: Guest on September-15-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language