Archived
1
0

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

View File

@ -6,7 +6,7 @@ remote server, accessible through the browser.
Try it out: Try it out:
```bash ```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 - **Code anywhere:** Code on your Chromebook, tablet, and laptop with a