Docker is an open source application container engine, based on the Go language and open source in compliance with the Apache2.0 protocol.

Docker allows developers to package their applications and dependencies into a lightweight, portable container, and then publish it to any popular Linux machine, which can also be virtualized.

Docker kill command syntax

docker kill: Kill a running container.

docker kill [OPTIONS] CONTAINER [CONTAINER...]

Docker kill command example

Kill the running container mynginx

php.cn@php.cn:~$ docker kill -s KILL mynginx
mynginx