-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Feature-RequestIssue is a feature requestIssue is a feature request
Description
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:
- https://codeberg.org/forgejo/forgejo
- https://codeberg.org/forgejo/forgejo/src/branch/forgejo/docker/root/usr/bin/entrypoint
- https://codeberg.org/forgejo/forgejo/src/branch/forgejo/docker/root/etc/s6
- https://skarnet.org/software/s6/s6-svscan.html
I don't know if this is the best solution, but it looks like a sleek and simple solution.
Kind regards
Holger
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Feature-RequestIssue is a feature requestIssue is a feature request