这是indexloc提供的服务,不要输入任何密码
Skip to content

Proper signal handling for graceful shutdown #16

@sharpcoder77

Description

@sharpcoder77

In current Dockerfile, supervisior is not running as pid 1 therefore, it is not able to receive signals sent to docker container. Due to this, there is no graceful shutdown.

To enable graceful shutdown, cmd of Dockerfile should be cmd exec /usr/bin/init instead of cmd /usr/bin/init

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions