Docker Community Forums

Share and learn in the Docker community.

Restarting Docker with different parameters


(Wnoorduin) #1

Experimenting with Docker has taken me to setting different parameters during startup. I have enabled Docker as update-rc.d docker enable (so, it’s using /etc/default/docker for starting up). Only after editing this file, for example:

DOCKER_OPTS="–bip --dns --dns"

I do not see this change when restarting as service docker restart (still docker daemon -H fd:// in process list). When I start docker daemon $DOCKER_OPTS, I do see a change, by the way.

(Wnoorduin) #2

Grrr: Okay, tells me more of that. I think that systemd is handy, but I can’t think of a usecase right now …