mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 18:41:37 +00:00
Merge pull request #240 from dsheets/remove-fixed-export-mounts
docker init: remove fixed host export mounts
This commit is contained in:
commit
50dc1ee4b0
@ -42,13 +42,6 @@ start()
|
||||
export no_proxy="$(mobyconfig get proxy/exclude)"
|
||||
fi
|
||||
|
||||
grep -q "osxfs /tmp" /proc/mounts || ( [ -d /Mac/tmp ] && mount --bind /Mac/tmp /tmp )
|
||||
|
||||
for d in Users Volumes private
|
||||
do
|
||||
[ -d /Mac/$d ] && [ ! -d $d ] && mkdir -p /$d && mount --bind /Mac/$d /$d
|
||||
done
|
||||
|
||||
# shift logs onto host before docker starts
|
||||
# busybox reopens its log files every second
|
||||
if cat /proc/cmdline | grep -q 'com.docker.driverDir'
|
||||
|
Loading…
Reference in New Issue
Block a user