See this issue.
Docker best practise to Control and configure Docker with systemd.
-
Create
daemon.jsonfile in/etc/docker:{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]} -
Add
/etc/systemd/system/docker.service.d/override.conf[Service] ExecStart= ExecStart=/usr/bin/dockerd -
Reload the systemd daemon:
systemctl daemon-reload -
Restart docker:
systemctl restart docker.service
Another thing to think about is security
Is the exposed port with your methods are encrypted or not ?
docker:dindhas two ports to expose2375no encrypton - context do not require cert or key2376encrypted - context require key pair to qualify connectionIs that encryption applicable with your methods ?
I think this is the part where we go inside

docker:dindentry point fileso it should be this part
and @russellhoff : you are right