debian 环境:
vi /lib/systemd/system/dcoker.service
修改:
ExecStart=/usr/bin/dockerd -H fd://
为
ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2375
systemctl daemon-reload
systemctl restart docker.service
原文地址:https://www.cnblogs.com/xIron/p/10637246.html
时间: 2024-11-06 09:49:06