Add .local
mount to example Docker command (#6419)
This commit is contained in:
parent
58f6e24a07
commit
020f280458
@ -279,6 +279,7 @@ brew services start code-server
|
|||||||
# outside the container.
|
# outside the container.
|
||||||
mkdir -p ~/.config
|
mkdir -p ~/.config
|
||||||
docker run -it --name code-server -p 127.0.0.1:8080:8080 \
|
docker run -it --name code-server -p 127.0.0.1:8080:8080 \
|
||||||
|
-v "$HOME/.local:/home/coder/.local" \
|
||||||
-v "$HOME/.config:/home/coder/.config" \
|
-v "$HOME/.config:/home/coder/.config" \
|
||||||
-v "$PWD:/home/coder/project" \
|
-v "$PWD:/home/coder/project" \
|
||||||
-u "$(id -u):$(id -g)" \
|
-u "$(id -u):$(id -g)" \
|
||||||
|
Reference in New Issue
Block a user