X Tutup
Skip to content

Proposal: docker stop should allow you to specify which initial signal to use, instead of always using SIGTERM #583

@alecbz

Description

@alecbz

docker stop my_container sends SIGTERM to my_container, waits an amount of time configured by the --time flag, and, if the container hasn't stopped, sends SIGKILL to the container.

It'd be nice to have options to configure what initial signal is used. E.g., docker stop --signal=INT my_container will instead send SIGINT to my_container, wait 10 seconds, and then send SIGKILL.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup