From 51a82655a925646a05a39a883c7b556fd8bc63d7 Mon Sep 17 00:00:00 2001 From: Ayane Satomi Date: Thu, 12 Sep 2019 23:12:39 +0800 Subject: [PATCH] [README] Add volume flag for persisting configs (#969) Fixes GH-965 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 94cc9dead..b372163ea 100644 --- a/README.md +++ b/README.md @@ -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.