File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 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
6060### Docker
6161
6262``` 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.
6367docker run -it -p 127.0.0.1:8080:8080 \
6468 -v " $PWD :/home/coder/project" \
6569 -u " $( id -u) :$( id -g) " \
6670 codercom/code-server:latest
6771```
6872
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-
7373### Self contained releases
7474
7575We 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