Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 018cff9

Browse files
committed
doc: Mount home inside docker container to easily grab password
I'm surprised no one has asked any questions about this.
1 parent 407e824 commit 018cff9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/install.md

+1
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ code-server
175175
# and forward your UID/GID so that all file system operations occur as your user outside
176176
# the container.
177177
docker run -it -p 127.0.0.1:8080:8080 \
178+
-v "$HOME:/home/coder" \
178179
-v "$PWD:/home/coder/project" \
179180
-u "$(id -u):$(id -g)" \
180181
codercom/code-server:latest

0 commit comments

Comments
 (0)