Description
File: engine/admin/systemd.md
I have an installation on a raspberry pi (using raspbian jessie), and am trying to follow instructions to make the docker engine listen on a tcp port (as well as a unix socket). As this section suggests, I created the /etc/docker/daemon.json
file and added a "hosts": ["tcp://0.0.0.0:4243", "unix:///var/run/docker.sock"]
entry. However, this approach fails with a message that says that there is an entry in the config file trying to override the flags passed to the daemon on startup. I think this is because /lib/systemd/system/docker.service
starts the service with the the flag -H fd://
It is not clear the correct approach here, but the documentation just doesn't match. I am worried that editing /lib/systemd/system/docker.service
to remove the flags will just get overwritten on the next upgrade. Perhaps the debian package should provide a small daemon.json file rather than provide flags on the start