Skip to content

Instantly share code, notes, and snippets.

@dochang
Created November 4, 2015 10:17
Show Gist options
  • Save dochang/dadc97191896d1a30f03 to your computer and use it in GitHub Desktop.
Save dochang/dadc97191896d1a30f03 to your computer and use it in GitHub Desktop.
/etc/systemd/system/docker.service.d/env.conf
[Service]
EnvironmentFile=-/etc/default/docker
# To modify the ExecStart configuration, specify an empty configuration followed by a new configuration
#
# See:
# - systemd.service(5)
# - http://docs.docker.com/engine/articles/systemd/#custom-docker-daemon-options
ExecStart=
ExecStart=/usr/bin/docker daemon -H fd:// $DOCKER_OPTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment