1、编辑dock er.service ,在[service]的ExecStart ,添加 -H tcp://0.0.0.0:2375
# vi /usr/lib/systemd/system/docker.service
2、在ExecStart ,添加 -H tcp://0.0.0.0:2375
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H fd:// --containerd=/run/containerd/containerd.sock
3、刷新配置文件
systemctl daemon-reload
4、重启docker
systemctl restart docker
5、开放端口
添加防火墙2375/tcp ,并重载防火墙
标签:ExecStart,0.0,端口,tcp,containerd,2375,docker
From: https://www.cnblogs.com/oldweipro/p/16921714.html