Archive for 2018-03-02

Debian 8 Docker daemon default start params remove

Somebody at debian’s thought, it will be very usefull, if adds the

-H fd://

param to the docker daemon default

To remove it, and use the /etc/docker/daemon.json do this below:

vi /lib/systemd/system/docker.service

mod this line:

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

to

ExecStart=/usr/bin/dockerd

than reload the daemon config

systemctl daemon-reload

and reload the service

/etc/init.d/docker restart