Docker base image with supervisor.
Based on umbrunnen/base (a base image with supervisor). This one adds supervisor-stdout plugin which relays process output to supervisor's stdout, so it's available via docker logs.
Build your image using this as base, add supervisor configs to /etc/supervisor/conf.d/ and they will be picked up automatically. Example:
FROM mphre/supervisor-stdout
# install and setup your program
ADD my_prog.conf /etc/supervisor/conf.d/
To make use of the stdout output put:
stdout_events_enabled = true
stderr_events_enabled = true
in the supervisor config snippet for the program you want to run, e.g.:
[program:test]
command = /test.sh
stdout_events_enabled = true
stderr_events_enabled = true
See supervisor-stdout package for more details.
Content type
Image
Digest
sha256:2eb58b558…
Size
147.3 MB
Last updated
almost 11 years ago
docker pull phre/supervisor-stdout