Skip to content

Instantly share code, notes, and snippets.

@BretFisher
Created January 27, 2016 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BretFisher/bc62547eb041608f9e7c to your computer and use it in GitHub Desktop.
Save BretFisher/bc62547eb041608f9e7c to your computer and use it in GitHub Desktop.
Docker 1.9 UCP 0.6 RHEL Daemon startup
[Unit]
Description=Docker Application Container Engine
Documentation=http://docs.docker.com
After=network.target docker.socket
Requires=docker.socket
[Service]
ExecStart=
ExecStart=/usr/bin/docker daemon -H fd:// -H unix://var/run/docker.sock --exec-opt native.cgroupdriver=cgroupfs --storage-driver=devicemapper --ip x.x.x.x
MountFlags=private
LimitNOFILE=1048576
LimitNPROC=1048576
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment