Update docker one liner to forward UID/GID

Closes #1425
This commit is contained in:
Anmol Sethi 2020-04-16 14:57:41 -04:00
parent 974d4cb8fc
commit c7753f2cf9
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ remote server, accessible through the browser.
Try it out:
```bash
docker run -it -p 127.0.0.1:8080:8080 -v "$PWD:/home/coder/project" codercom/code-server
docker run -it -p 127.0.0.1:8080:8080 -v "$PWD:/home/coder/project" -u "$(id -u):$(id -g)" codercom/code-server:latest
```
- **Code anywhere:** Code on your Chromebook, tablet, and laptop with a