Skip to content

docs(stop): say --timeout 0 is immediate SIGKILL - #7215

Open
locker95 wants to merge 1 commit into
docker:masterfrom
locker95:docs/stop-timeout-zero
Open

docs(stop): say --timeout 0 is immediate SIGKILL#7215
locker95 wants to merge 1 commit into
docker:masterfrom
locker95:docs/stop-timeout-zero

Conversation

@locker95

Copy link
Copy Markdown

the options table shows --timeout defaulting to 0, which reads like stop just kills the container. omitting the flag still uses the container --stop-timeout or the daemon default; --timeout 0 is the immediate SIGKILL.

same note on restart.

The flag table shows Default 0, which looks like the daemon default.
Omitting the flag still uses the container or daemon timeout.

Signed-off-by: Dean Chen <862469039@qq.com>
@locker95
locker95 requested review from a team and thaJeztah as code owners August 18, 2026 09:51
@thaJeztah

Copy link
Copy Markdown
Member

the options table shows --timeout defaulting to 0,

We should probably look at fixing that; the --help output does not show a default; and looks like the documentation on docs.docker.com does print it correctly;

Screenshot 2026-08-18 at 22 24 12

Compared to the generated docs on GitHub;

Screenshot 2026-08-18 at 22 24 44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants