Docker commannds

Category:

docker stop [OPTIONS] CONTAINER [CONTAINER…]

The main process inside the container will receive SIGTERM, and after a grace period, SIGKILL.

docker kill [OPTIONS] CONTAINER [CONTAINER…]

The main process inside the container will be sent SIGKILL, or any signal specified with option --signal.

docker pause CONTAINER [CONTAINER…]

Suspends all processes in the specified containers. On Linux, this uses the cgroups freezer. Traditionally, when suspending a process the SIGSTOP signal is used, which is observable by the process being suspended.

docker start [OPTIONS] CONTAINER [CONTAINER…]

Start one or more stopped containers.