Skip to content

Commit 51a8265

Browse files
sr229code-asher
authored andcommitted
[README] Add volume flag for persisting configs (#969)
Fixes GH-965
1 parent ed3e9d3 commit 51a8265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Try it out:
1010
```bash
11-
docker run -it -p 127.0.0.1:8443:8443 -v "${PWD}:/home/coder/project" codercom/code-server --allow-http --no-auth
11+
docker run -it -p 127.0.0.1:8443:8443 -v "${HOME}/.local/share/code-server:/home/coder/.local/share/code-server" -v "${PWD}:/home/coder/project" codercom/code-server --allow-http --no-auth
1212
```
1313

1414
- Code on your Chromebook, tablet, and laptop with a consistent dev environment.

0 commit comments

Comments
 (0)