We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a730bec commit 312a4d5Copy full SHA for 312a4d5
doc/install.md
@@ -174,7 +174,13 @@ 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/.config is mounted at $HOME/.config within the container to ensure you can
179
+# easily access/modify your code-server config in $HOME/.config/code-server/config.json
180
+# outside the container.
181
+mkdir -p ~/.config
182
docker run -it -p 127.0.0.1:8080:8080 \
183
+ -v "$HOME/.config:/home/coder/.config" \
184
-v "$PWD:/home/coder/project" \
185
-u "$(id -u):$(id -g)" \
186
codercom/code-server:latest
0 commit comments