mirror of https://github.com/docker/compose.git
Mount $HOME in /root to share docker config.
Fixes #2630 Signed-off-by: Thomas Hourlier <thomas.hourlier@cnode.fr>
This commit is contained in:
parent
2f8cb55412
commit
f7a7e68df6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue