Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ should have been destroyed.
as PID 1 and immediately spawns your command as a child process, taking care to
properly handle and forward signals as they are received.

## Best example of using dumb-init

This will start some services then don't let your docker container collapse (finish).

/entrypoint.sh

#!/usr/bin/dumb-init /bin/bash
/etc/init.d/cron start
echo "|`date`| => Mini docker started" >> /var/log/startup.log
sleep infinity


## Why you need an init system

Expand Down