[Docker]开放2375端口

vi /usr/lib/systemd/system/docker.service

# 修改为
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix://var/run/docker.sock -H fd:// --containerd=/run/containerd/containerd.sock
# 重启Docker服务
[root@vue python37]# systemctl daemon-reload
[root@vue python37]# systemctl restart docker

END

posted @ 2021-05-25 13:58  LeoShi2020  阅读(207)  评论(0编辑  收藏  举报