Docker remote call

Remote call here refers to remote call through containerd. Please refer to the introduction of docker component for dockerd
Modify docker service

sudo vim /usr/lib/systemd/system/docker.service

在ExecStart末尾追加 -H tcp://

ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock -H tcp://

Reload profile

systemctl daemon-reload
sudo systemctl restart docker

Call docker command through other computers

docker -H ps -a
Send a Message