File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,16 +60,16 @@ brew services start code-server
60
60
### Docker
61
61
62
62
``` bash
63
+ # This will start a code-server container and expose it at http://127.0.0.1:8080.
64
+ # It will also mount your current directory into the container as `/home/coder/project`
65
+ # and forward your UID/GID so that all file system operations occur as your user outside
66
+ # the container.
63
67
docker run -it -p 127.0.0.1:8080:8080 \
64
68
-v " $PWD :/home/coder/project" \
65
69
-u " $( id -u) :$( id -g) " \
66
70
codercom/code-server:latest
67
71
```
68
72
69
- This will start a code-server container and expose it at http://127.0.0.1:8080 . It will also mount
70
- your current directory into the container as ` /home/coder/project ` and forward your UID/GID so that
71
- all file system operations occur as your user outside the container.
72
-
73
73
### Self contained releases
74
74
75
75
We publish self contained archives for every release on [ github] ( https://github.com/cdr/code-server/releases ) .
You can’t perform that action at this time.
0 commit comments