Skip to content

docker stop's SIGTERM is ignored so has to wait to SIGKILL to stop #386

Open
@sjpotter

Description

@sjpotter

With normal redis outsides a container, I can send it a SIGINT or a SIGTERM and it catches it and stops cleanly basically immeadiately. When run with this docker container, I'd then expect similar behavior if I did a docker stop (or a docker rm -f). However, that is not what I see. It delays 10 seconds or so until it just seems to get the SIGKILL.

in watching the docker container (docker run -it) in one window and then I do a docker stop in another window, I see nothing happen in the redis output until it just dies without any messages (i.e. indicating to me that it was SIGKILLed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions