ExecStart=/usr/bin/dockerd -H unix:///var/run/docker.sock -H tcp://10.0.0.100:2375
时间: 2023-08-29 18:14:04 浏览: 188
VMware.zip_Linux/Unix编程_Unix_Linux_
ExecStart=/usr/bin/dockerd -H unix:///var/run/docker.sock -H tcp://10.0.0.100:2375 是用于配置 Docker 服务的启动命令,其中 -H 参数用于指定 Docker 的监听方式,unix:///var/run/docker.sock 表示使用 Unix 域套接字方式监听,而 tcp://10.0.0.100:2375 则表示使用 TCP 方式监听,监听在 IP 地址为 10.0.0.100,端口为 2375 上。这样配置后,Docker 服务将同时支持通过 Unix 域套接字和 TCP 方式进行访问和操作。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [centos7下安装配置docker](https://blog.csdn.net/weixin_46699775/article/details/121640947)[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_2"}}] [.reference_item style="max-width: 50%"]
- *2* [Docker服务开启TCP端口](https://blog.csdn.net/qq_28762305/article/details/122602934)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文