Docker – API over TCP

All steps are relevant for distributions with systemd (tested on CentOS 7 and Ubuntu 18.04)

We look at the Docker launch command:

grep "ExecStart" /usr/lib/systemd/system/docker.service

Ubuntu 18.04 has a different path, “/lib/systemd/system/docker.service


We get something similar:


Now create the “override.conf” file, just enter:

systemctl edit docker

We insert the following there:

ExecStart=/usr/bin/dockerd -H tcp://

Continue reading ” Docker – API over TCP”