M
M
Monkz2019-02-07 18:13:33
CentOS
Monkz, 2019-02-07 18:13:33

How to make docker ping external host on Centos?

Good afternoon!
Please tell me how to make firewalld and docker friends?
I can not get ping to work from the container in any way. As far as I understand, docker tries to push something into iptables at startup, but firewalld does not allow it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2019-02-07
@q2digger

Try adding the docker interface to trusted networks.
firewall-cmd --permanent --zone=trusted --change-interface=docker0
firewall-cmd --reload

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question