avoid rebindmounting directories on docker restart

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-06-02 13:18:27 +01:00
parent d0c8e5de01
commit 35cdbaf458

View File

@ -51,7 +51,7 @@ start()
for d in Users Volumes tmp private
do
[ -d /Mac/$d ] && mkdir -p /$d && mount --bind /Mac/$d /$d
[ -d /Mac/$d ] && [ ! -d $d] && mkdir -p /$d && mount --bind /Mac/$d /$d
done
# same default ulimit as boot2docker; if you want more can set at docker run time