Explorar o código

Merge pull request #2632 from hourliert/master

Mount $HOME in /root to share docker config between containers.
Aanand Prasad %!s(int64=9) %!d(string=hai) anos
pai
achega
fa01883cb2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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