https://hub.docker.com/r/madskonradsen/centos-supervisor
docker pull madskonradsen/centos-supervisor
It's built on top of the centos:centos7 image which only adds 20MB.
- Supervisord loads its services from
/etc/supervisor.d/
. Add configurations in there to have them launched by simply adding entries to yourDockerfile
. For example:ADD myService.conf /etc/supervisord.d/myService.conf
- All scripts inside
/config/init/*.sh
are runned automatically on startup before supervisord - Can be launched with both in detached and interactive mode and runs all commands passed to it