Skip to content

Support proper shutdown of the container #3940

@hleskien

Description

@hleskien

If I stop the container, it has to be terminated with SIGKILL every time, which requires unnecessary waiting time. This is annoying, especially during development, but also blocking when you want to shut down a server:

$ podman stop rss-bridge
WARN[0010] StopSignal SIGTERM failed to stop container rss-bridge in 10 seconds, resorting to SIGKILL 

There are init systems specifically for containers. I found a convincing example in the forgejo project. They are using s6-svscan:

I don't know if this is the best solution, but it looks like a sleek and simple solution.

Kind regards

Holger

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions