mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 19:05:37 +00:00
missing /proc.mounts
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
64d4ec65bb
commit
cb827b9521
@ -54,7 +54,7 @@ start()
|
|||||||
if cat /proc/cmdline | grep -q 'com.docker.driverDir'
|
if cat /proc/cmdline | grep -q 'com.docker.driverDir'
|
||||||
then
|
then
|
||||||
DRIVERDIR="/Mac$(cat /proc/cmdline | sed -e 's/.*com.docker.driverDir="//' -e 's/".*//')"
|
DRIVERDIR="/Mac$(cat /proc/cmdline | sed -e 's/.*com.docker.driverDir="//' -e 's/".*//')"
|
||||||
grep -q "osxfs on /var/log" || mount --bind "${DRIVERDIR}/log" /var/log
|
grep -q "osxfs on /var/log" /proc/mounts || mount --bind "${DRIVERDIR}/log" /var/log
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# same default ulimit as boot2docker; if you want more can set at docker run time
|
# same default ulimit as boot2docker; if you want more can set at docker run time
|
||||||
|
Loading…
Reference in New Issue
Block a user