Skip to content

Commit

Permalink
Systemd init script should support DOCKER_OPTS
Browse files Browse the repository at this point in the history
See moby#9889 (specifically, [here](moby#9889 (comment)). The systemd daemon should support `DOCKER_OPTS` the same as upstart and sysv do.

This commit is copied from
moby@0e7fb27
The commit itself is not present anymore (maybe it's orphaned?).

Signed-off-by: Matthias Brandt <matthias.brandt@inoio.de>
  • Loading branch information
Matthias Brandt committed Oct 16, 2015
1 parent dee57e4 commit 85f1d16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/init/systemd/docker.service
Expand Up @@ -6,8 +6,9 @@ Requires=docker.socket

[Service]
Type=notify
ExecStart=/usr/bin/docker daemon -H fd://
MountFlags=slave
EnvironmentFile=-/etc/default/docker
ExecStart=/usr/bin/docker daemon $DOCKER_OPTS -H fd://
LimitNOFILE=1048576
LimitNPROC=1048576
LimitCORE=infinity
Expand Down

0 comments on commit 85f1d16

Please sign in to comment.