mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-24 11:25:40 +00:00
Merge pull request #1070 from justincormack/aufs-not-if-unsupported
Do not try to use aufs if kernel has no support
This commit is contained in:
commit
eb4c7cfbe9
@ -94,7 +94,7 @@ start()
|
||||
if ! $(cat /etc/docker/daemon.json | jq -e '."storage-driver"' > /dev/null)
|
||||
then
|
||||
STORAGE_DRIVER="overlay2"
|
||||
[ -d /var/lib/docker/aufs ] && STORAGE_DRIVER="aufs"
|
||||
[ -d /var/lib/docker/aufs ] && grep -q aufs /proc/filesystems && STORAGE_DRIVER="aufs"
|
||||
DOCKER_OPTS="${DOCKER_OPTS} --storage-driver ${STORAGE_DRIVER}"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user