Docker: Enable API
From wiki.jacobjohns.com

Enable Docker API
- Edit the docker.service
sudo systemctl edit docker.service- Add the below above the '### Lines below this comment will be discarded line':
[Service] ExecStart= ExecStart=/usr/bin/dockerd
- Create
/etc/docker/daemon.jsonwith the below
{
"hosts": ["unix:///var/run/docker.sock", "tcp://<HostIP>:2375"]
}
- Restart docker
systemctl restart docker
