Merge pull request #2632 from hourliert/master

Mount $HOME in /root to share docker config between containers.
This commit is contained in:
Aanand Prasad 2016-01-13 21:17:18 +00:00
commit fa01883cb2
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ if [ -n "$compose_dir" ]; then
VOLUMES="$VOLUMES -v $compose_dir:$compose_dir"
fi
if [ -n "$HOME" ]; then
VOLUMES="$VOLUMES -v $HOME:$HOME"
VOLUMES="$VOLUMES -v $HOME:$HOME -v $HOME:/root" # mount $HOME in /root to share docker.config
fi
# Only allocate tty if we detect one