Skip to content
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.

Commit

Permalink
Add simple hack to counteract moby/moby#39009
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon committed Apr 6, 2019
1 parent 56788e1 commit b3730b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion files/bootsync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ if [ -e /var/lib/boot2docker/bootsync.sh ]; then
sh /var/lib/boot2docker/bootsync.sh
fi

/etc/init.d/docker start
# "env -i" thanks to https://github.com/moby/moby/issues/39009 ...
env -i PATH="$PATH" /etc/init.d/docker start

if [ -e /var/lib/boot2docker/bootlocal.sh ]; then
sh /var/lib/boot2docker/bootlocal.sh &
Expand Down

0 comments on commit b3730b4

Please sign in to comment.