mirror of
https://github.com/coder/code-server.git
synced 2026-04-12 07:13:52 -05:00
Add .local mount to example Docker command (#6419)
This commit is contained in:
committed by
GitHub
parent
58f6e24a07
commit
020f280458
@@ -279,6 +279,7 @@ brew services start code-server
|
||||
# outside the container.
|
||||
mkdir -p ~/.config
|
||||
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 "$PWD:/home/coder/project" \
|
||||
-u "$(id -u):$(id -g)" \
|
||||
|
||||
Reference in New Issue
Block a user