docker 命令关闭防火墙
时间: 2023-10-23 10:12:09 浏览: 195
要通过Docker命令关闭防火墙,你可以执行以下步骤:
1. 首先,使用命令`systemctl stop firewalld.service`来停止防火墙服务。
2. 接下来,要永久关闭防火墙,可以使用命令`chkconfig iptables off`。
这样,通过执行以上两个命令,你就可以使用Docker命令关闭防火墙了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [docker 入门基础实战完整.pdf](https://download.csdn.net/download/wangshixi2019/12691132)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [docker容器关闭防火墙](https://blog.csdn.net/qq_39399966/article/details/106196555)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文