MinaProtocol / mina

Mina is a cryptocurrency protocol with a constant size blockchain, improving scaling while maintaining decentralization and security.
https://minaprotocol.com
Apache License 2.0
1.99k stars 531 forks source link

Investigate container init options #5941

Open O1ahmad opened 4 years ago

O1ahmad commented 4 years ago

There are a bunch of resources on the web, etc providing guidance on container usage best practices, especially when it comes to proper signal handling and propagation of signals to child processes (aka those not running as PID 1).

While the suggestions/options are limited -- not to mention that Buildkite agent docker runs are currently employing Docker's built-in container init system and one of the most popular though very simple container init solutions, tini -- it may be worth exploring other solutions for the following benefits:

O1ahmad commented 4 years ago

dumb-init (very similar to tini though supports custom signal handling and signal rewriting)