remove /etc/conf.d.docker will provide option to have that externally to override

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
Justin Cormack 2015-12-30 21:04:43 +00:00
parent c655429a32
commit fa4beb5277
2 changed files with 3 additions and 5 deletions

View File

@ -1,5 +0,0 @@
# /etc/conf.d/docker
export DOCKER_RAMDISK="true"
export DOCKER_BINARY="/usr/bin/docker"
export DOCKER_OPTS="-s aufs"

View File

@ -1,5 +1,8 @@
#!/sbin/openrc-run
export DOCKER_RAMDISK="true"
DOCKER_OPTS="${DOCKER_OPTS:--s aufs}"
command="${DOCKER_BINARY:-/usr/bin/docker}"
pidfile="${DOCKER_PIDFILE:-/run/${RC_SVCNAME}.pid}"
command_args="daemon -p \"${pidfile}\" ${DOCKER_OPTS}"