소스 검색

Mount $HOME in /root to share docker config.

Fixes #2630

Signed-off-by: Thomas Hourlier <[email protected]>
Thomas Hourlier 10 년 전
부모
커밋
f7a7e68df6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"
     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