mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-28 13:08:38 +00:00
Use /proc/mounts in docker init script
Switch one instance of /etc/mtab. Signed-off-by: Ian Campbell <ian.campbell@docker.com>
This commit is contained in:
parent
6625be95a5
commit
4d4ea240a8
@ -42,7 +42,7 @@ start()
|
||||
export no_proxy="$(mobyconfig get proxy/exclude)"
|
||||
fi
|
||||
|
||||
grep -q "osxfs /tmp" /etc/mtab || ( [ -d /Mac/tmp ] && mount --bind /Mac/tmp /tmp )
|
||||
grep -q "osxfs /tmp" /proc/mounts || ( [ -d /Mac/tmp ] && mount --bind /Mac/tmp /tmp )
|
||||
|
||||
for d in Users Volumes private
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user