- Docker - Build, Ship, and Run Any App, Anywhere
- Alpine Linux | Alpine Linux
- A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size!
- Supervisor: A Process Control System β Supervisor
- Using Supervisor with Docker
via docker
:
$ docker run --name supervisor --volume $(pwd):/etc/supervisor.d/ --detach docker.io/alexus/supervisord
cd18364e220ff251f4a5d59f59b40a4c48ec08ed855ce62482475a1f95db4557
$ docker exec --interactive --tty supervisor supervisorctl
supervisor>
$
via docker-compose
:
$ docker-compose up --detach --build
$ mkdir ./supervisor.d/
$ $EDITOR ./supervisor.d/foo.ini
$ cat ./foo.ini
[program:foo]
command=/bin/cat
$