Mount $HOME in /root to share docker config.

Fixes #2630

Signed-off-by: Thomas Hourlier <thomas.hourlier@cnode.fr>
This commit is contained in:
Thomas Hourlier 2016-01-11 09:48:52 -08:00
parent 2f8cb55412
commit f7a7e68df6
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" VOLUMES="$VOLUMES -v $compose_dir:$compose_dir"
fi fi
if [ -n "$HOME" ]; then 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 fi
# Only allocate tty if we detect one # Only allocate tty if we detect one