Skip to main content
Stops running containers gracefully by sending a signal. A timeout can be specified before a SIGKILL is issued. If no containers are specified, nothing is stopped unless --all is used.

Usage

container stop [--all] [--signal <signal>] [--time <time>] [--debug] [<container-ids> ...]

Arguments

container-ids
string[]
Container IDs

Options

-a, --all
boolean
Stop all running containers
-s, --signal
string
default:"SIGTERM"
Signal to send to the containers
-t, --time
number
default:"5"
Seconds to wait before killing the containers

Build docs developers (and LLMs) love