Add `.local` mount to example Docker command (#6419)

This commit is contained in:
Dov Benyomin Sohacheski 2023-09-23 04:07:07 +03:00 committed by GitHub
parent 58f6e24a07
commit 020f280458
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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)" \