1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-28 21:25:25 +00:00

Update example docker command port bind options (#88)

must use 127.0.0.1 and not `localhost`
This commit is contained in:
Elizabeth 2019-03-07 12:31:01 -05:00 committed by Kyle Carberry
parent 3d654a8df7
commit 8e68411174

View File

@ -9,7 +9,7 @@
Try it out:
```bash
docker run -p localhost:8443:8443 -v "${PWD}:/root/project" codercom/code-server code-server --allow-http --no-auth
docker run -p 127.0.0.1:8443:8443 -v "${PWD}:/root/project" codercom/code-server code-server --allow-http --no-auth
```
- Code on your Chromebook, tablet, and laptop with a consistent dev environment.