[README] Add volume flag for persisting configs (#969)

Fixes GH-965
This commit is contained in:
Ayane Satomi 2019-09-12 23:12:39 +08:00 committed by Asher
parent ed3e9d31f4
commit 51a82655a9
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
Try it out:
```bash
docker run -it -p 127.0.0.1:8443:8443 -v "${PWD}:/home/coder/project" codercom/code-server --allow-http --no-auth
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
```
- Code on your Chromebook, tablet, and laptop with a consistent dev environment.