nano /lib/systemd/system/docker.service
ExecStart=
ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2376 --containerd=/run/containerd/containerd.sock
sudo systemctl daemon-reload
sudo systemctl restart docker.service
ss -lntp | grep dockerd
Configuring remote access with systemd unit file
- Details
- Written by: po3dno
- Category: Docker
- Hits: 17