Sign inSign up

enil/alpine-supervisord

By enil

Updated over 9 years ago

A lightweight Docker image running Supervisor on Alpine Linux to monitor processes.

Image
2

2.1K

enil/alpine-supervisord repository overview

Supervisor image running on Alpine Linux

A lightweight Docker image running Supervisor on Alpine Linux to monitor processes. Supervisor makes it easy to run and monitor multiple processes.

An onbuild image can be used to copy the supervisord.conf to container.

Usage

Pulling the images from Dockerhub:

docker pull enil/alpine-supervisord
docker pull enil/alpine-supervisord-onbuild

supervisord needs a configuration file to run, by default the container looks at /etc/supervisord.conf. A Dockerfile could look like this:

FROM enil/alpine-supervisord
COPY supervisord.conf /etc/supervisord.conf

Then build and run the image:

docker build -t mysupervisord .
docker run -d mysupervisord

The enil/alpine-supervisord-onbuild image simplifies the process by adding an ONBUILD task to copy a configuration file called supervisord.conf in the same directory as the Dockerfile. This further simplifies the Dockerfile:

FROM enil/alpine-supervisord

Changelog

0.2
  • Upgrade Alpine Linux to v3.4
  • Upgrade Python to v2.7.12
  • Upgrade pip to v.8.1.2
  • Upgrade Supervisor to v3.3.0
0.1.1
  • Change Dockerfile to 1.9 syntax to work on Dockerhub
0.1
  • Initial release

Tag summary

Content type

Image

Digest

Size

17.4 MB

Last updated

over 9 years ago

docker pull enil/alpine-supervisord