A docker image based on CentOS Linux with the s6 process supervisor
Community Enterprise Operating System (CentOS) is a community-driven free software effort focused on delivering a robust, open source, enterprise class Linux distribution functionally compatible upstream with Red Hat Enterprise Linux (RHEL) sources.
The s6-overlay project is a series of init scripts and utilities to ease creating Docker images using s6 as a process supervisor. The s6-overlay makes it easy to take advantages of s6 while still operate like other Docker images. The s6 init system provides many helpful tools to initialize and manage processes as the Docker container starts.
| Tag | Description |
|---|---|
| latest | The most current build. Images based on latest may change often an possibly could break. Test your images |
| 8, centos8 | Latest CentOS 8 series |
| 7, centos7 | Latest CentOS 7 series |
| 6, centos6 | Latest CentOS 6 series |
| 8.2.2004 | CentOS Linux 8.2.2004 built on 2020-12-03 |
| 7.7.1908 | CentOS Linux 7.7.1908 built on 2019-11-21 |
| 7.5.1804 | CentOS Linux 7.5.1804 built on 2018-07-31 |
| 6.9 | CentOS Linux 6.9 built on 2018-07-31 |
| 2.1.0.2 | CentOS 8.2.2004 with S6 Overlay v2.1.0.2 built on 2020-12-03 |
| 1.22.1.0 | CentOS 7.7.1908 with S6 Overlay v1.22.1.0 built on 2019-11-21 |
| 1.21.4.0 | CentOS 7.5.1804 with S6 Overlay v1.21.4.0 built on 2018-07-31 |
| 1.20.0.0 | CentOS 7.4.1708 with S6 Overlay v1.20.0.0 built on 2017-09-19 |
| 1.19.1.1 | CentOS 7.4.1708 with S6 Overlay v1.20.0.0 built on 2017-09-19 |
| 1.18.1.5 | CentOS 7.2.1511 with S6 Overlay v1.20.0.0 built on 2016-09-30 |
| centos8-2.1.0.2 | CentOS 8.2.2004 with S6 Overlay v2.1.0.1 built on 2020-12-03 |
| centos7-2.1.0.2 | CentOS 7.9.2009 with S6 Overlay v2.1.0.1 built on 2020-12-03 |
| centos7-1.22.1.0 | CentOS 7.7.1908 with S6 Overlay v1.22.1.0 built on 2019-11-21 |
| centos7-1.21.4.0 | CentOS 7.5.1804 with S6 Overlay v1.21.4.0 built on 2018-07-31 |
| centos7-1.20.0.0 | CentOS 7.4.1708 with S6 Overlay v1.20.0.0 built on 2017-09-19 |
| centos7-1.19.1.1 | CentOS 7.4.1708 with S6 Overlay v1.20.0.0 built on 2017-09-19 |
| centos7-1.18.1.5 | CentOS 7.2.1511 with S6 Overlay v1.20.0.0 built on 2016-09-30 |
| centos6-1.21.4.0 | CentOS 6.9 with S6 Overlay v1.21.4.0 built on 2018-07-31 |
| centos6-1.20.0.0 | CentOS 6.9 with S6 Overlay v1.20.0.0 built on 2017-09-19 |
| centos6-1.19.1.1 | CentOS 6.9 with S6 Overlay v1.20.0.0 built on 2017-09-19 |
| centos6-1.18.1.5 | CentOS 6.8 with S6 Overlay v1.20.0.0 built on 2016-09-30 |
I'm sure there are some but currently I'm unaware of current issues. If you find an issue please let me know on GitHub
A working docker daemon would be helpful to utilize this image.
This image is meant to be used as a base to build custom docker images from. It's value is that it takes the base CentOS linux image and adds the s6 overlay.
docker run --rm -ti project42/s6-centos:latest bash
This will present you with a shell on fresh container that will stop and remove itself when you exit the container.
FROM project42/s6-centos:latest
RUN yum -y update && \
yum -y install epel-release && \
yum -y update && \
yum -y install cowsay
ENTRYPOINT ["/init"]
| Environment | Description |
|---|---|
| TZ | Sets the container Timezone; example: CST6CDT default: UTC |
This image includes the bash shell and when running in detached mode can be connected to with:
docker exec -ti <container> bash
Maintainer: https://jordanclark.us
Maintainer's git repo: https://git.jordanclark.us/devops/s6-centos-docker
Github Issues: https://github.com/p42/s6-centos-docker/issues
CentOS Linux: https://www.centos.org
s6-overlay: https://github.com/just-containers/s6-overlay
s6 supervisor: http://www.skarnet.org/software/s6/index.html