首先要下载swarm
docker pull swarm
然后停掉docker服务:
service docker stop
然后启动deamon:
sudo dockerd -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock &
查看是否监听2375端口:
netstat -ant
首先要下载swarm
docker pull swarm
然后停掉docker服务:
service docker stop
然后启动deamon:
sudo dockerd -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock &
查看是否监听2375端口:
netstat -ant
转载于:https://www.cnblogs.com/kuku0223/p/8422315.html