We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a730bec commit 273cd2bCopy full SHA for 273cd2b
doc/install.md
@@ -174,7 +174,11 @@ code-server
174
# It will also mount your current directory into the container as `/home/coder/project`
175
# and forward your UID/GID so that all file system operations occur as your user outside
176
# the container.
177
+#
178
+# Your $HOME is mounted at $HOME within the container to ensure you can easily access
179
+# your code-server config in ~/.config/code-server/config.json
180
docker run -it -p 127.0.0.1:8080:8080 \
181
+ -v "$HOME:/home/coder" \
182
-v "$PWD:/home/coder/project" \
183
-u "$(id -u):$(id -g)" \
184
codercom/code-server:latest
0 commit comments