Update docker-cli-to-kubectl.md (#5015)
Modified "is different than" to "is different from".
This commit is contained in:
@@ -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 ...`).
|
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>`
|
To destroy the Deployment (and its pods) you need to run `kubectl delete deployment <name>`
|
||||||
|
|
||||||
#### docker ps
|
#### docker ps
|
||||||
|
|||||||
Reference in New Issue
Block a user