Docker - No route to host

前端 未结 8 946
予麋鹿
予麋鹿 2021-02-01 17:46

When i try and connect to a port from within my container to another container, i am unsuccessful and get,

root@ac1590a59fe5:/opt/f5massupgrade#         


        
8条回答
  •  借酒劲吻你
    2021-02-01 18:30

    These worked for me on Fedora 32

    $ sudo firewall-cmd --zone=public --add-masquerade --permanent
    $ sudo firewall-cmd --reload
    $ sudo systemctl restart docker
    

提交回复
热议问题