Stop containers
medium risk
Gracefully stops containers; default timeout 10 s.
| Flag | Meaning |
|---|---|
-t | Seconds to wait before SIGKILL |
docker stop webStop a container · explain & risk-check →docker stop -t 30 dbAllow 30 s for shutdown · explain & risk-check →Reference text is hand-written and may be incomplete — check man docker for your version. Test destructive commands on a non-production system first.