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
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
Try it out: Try it out:
```bash ```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. - Code on your Chromebook, tablet, and laptop with a consistent dev environment.