2016-10-14 15:30:36 -07:00
|
|
|
---
|
|
|
|
title: "stop"
|
|
|
|
description: "The stop command description and usage"
|
|
|
|
keywords: ["stop, SIGKILL, SIGTERM"]
|
|
|
|
---
|
2015-06-21 13:41:38 -07:00
|
|
|
|
|
|
|
# stop
|
|
|
|
|
2016-07-07 20:43:18 +02:00
|
|
|
```markdown
|
|
|
|
Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...]
|
2015-06-21 13:41:38 -07:00
|
|
|
|
2016-07-07 20:43:18 +02:00
|
|
|
Stop one or more running containers
|
2015-06-21 13:41:38 -07:00
|
|
|
|
2016-07-07 20:43:18 +02:00
|
|
|
Options:
|
|
|
|
--help Print usage
|
|
|
|
-t, --time int Seconds to wait for stop before killing it (default 10)
|
|
|
|
```
|
2015-06-21 13:41:38 -07:00
|
|
|
|
|
|
|
The main process inside the container will receive `SIGTERM`, and after a grace
|
2015-10-03 17:56:41 +02:00
|
|
|
period, `SIGKILL`.
|