Skip to content

Commit c7753f2

Browse files
committed
Update docker one liner to forward UID/GID
Closes #1425
1 parent 974d4cb commit c7753f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ remote server, accessible through the browser.
66
Try it out:
77

88
```bash
9-
docker run -it -p 127.0.0.1:8080:8080 -v "$PWD:/home/coder/project" codercom/code-server
9+
docker run -it -p 127.0.0.1:8080:8080 -v "$PWD:/home/coder/project" -u "$(id -u):$(id -g)" codercom/code-server:latest
1010
```
1111

1212
- **Code anywhere:** Code on your Chromebook, tablet, and laptop with a

0 commit comments

Comments
 (0)