Docker

docker stop

CautionStop/start container

docker stop <container>

Stops, starts or kills a container.

Examples

  • docker stop webStop the web container

Syntax

docker stop|start|kill <container>

Before you run it

Stops a running service; kill is immediate.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store