Add -t flag to docker example (#181)

It is quite annoying when Ctrl-C does not stop the container
This commit is contained in:
Khải 2019-03-10 20:28:25 +07:00 committed by Kyle Carberry
parent 76e0338d7f
commit 41d1be9205
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
Try it out:
```bash
docker run -p 127.0.0.1:8443:8443 -v "${PWD}:/root/project" codercom/code-server code-server --allow-http --no-auth
docker run -t -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.