vim /usr/lib/systemd/system/docker.service ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix://var/run/docker.sock systemctl daemon-reload // 1 ...
- vim /usr/lib/systemd/system/docker.service
- ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix://var/run/docker.sock
- systemctl daemon-reload // 1,載入docker守護線程
- systemctl restart docker // 2,重啟docker