Skip to content

Commit 189ba4b

Browse files
committed
Improve docker install formatting
1 parent fa16a2f commit 189ba4b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff 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.
6367
docker 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

7575
We publish self contained archives for every release on [github](https://github.com/cdr/code-server/releases).

0 commit comments

Comments
 (0)