mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 01:59:07 +00:00
do not set graph driver in moby, use default or get from daemon.json config
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
c540664234
commit
849df72fb5
@ -2,21 +2,6 @@
|
|||||||
|
|
||||||
export DOCKER_RAMDISK="true"
|
export DOCKER_RAMDISK="true"
|
||||||
|
|
||||||
# choose a graph driver based on what is available and a preference
|
|
||||||
# if the user has not set any opts
|
|
||||||
# we do not yet provide easy access to /etc/conf.d/docker but may do
|
|
||||||
# otherwise let Docker choose
|
|
||||||
if cat /proc/filesystems | grep -q '\taufs$'
|
|
||||||
then
|
|
||||||
DOCKER_OPTS="${DOCKER_OPTS:- -s aufs}"
|
|
||||||
elif cat /proc/filesystems | grep -q '\toverlay$'
|
|
||||||
then
|
|
||||||
DOCKER_OPTS="${DOCKER_OPTS:- -s overlay}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# temporary fix until -rc2
|
|
||||||
DOCKER_OPTS="-s overlay"
|
|
||||||
|
|
||||||
command="${DOCKER_BINARY:-/usr/bin/docker}"
|
command="${DOCKER_BINARY:-/usr/bin/docker}"
|
||||||
|
|
||||||
pidfile="/run/docker.pid"
|
pidfile="/run/docker.pid"
|
||||||
|
Loading…
Reference in New Issue
Block a user