Update docker-cli-to-kubectl.md (#5015)

Modified "is different than" to "is different from".
This commit is contained in:
lemon-tree
2017-08-18 00:58:57 +08:00
committed by Steve Perry
parent 776980a1ff
commit c9e79b5bd8
+1 -1
View File
@@ -53,7 +53,7 @@ kubectl run [-i] [--tty] --attach <name> --image=<image>
Unlike `docker run ...`, if `--attach` is specified, we attach to `stdin`, `stdout` and `stderr`, there is no ability to control which streams are attached (`docker -a ...`).
Because we start a Deployment for your container, it will be restarted if you terminate the attached process (e.g. `ctrl-c`), this is different than `docker run -it`.
Because we start a Deployment for your container, it will be restarted if you terminate the attached process (e.g. `ctrl-c`), this is different from `docker run -it`.
To destroy the Deployment (and its pods) you need to run `kubectl delete deployment <name>`
#### docker ps