Browse Source

Mount $HOME in /root to share docker config.

Fixes #2630

Signed-off-by: Thomas Hourlier <[email protected]>
Thomas Hourlier 9 years ago
parent
commit
f7a7e68df6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      script/run.sh

+ 1 - 1
script/run.sh

@@ -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