Sign inSign up

project42/s6-centos

By project42

•Updated 6 months ago

Base CentOS with the sweet S6-Overlay.

Image
2

4.3K

project42/s6-centos repository overview

⁠project42/s6-centos

pipeline status

⁠Introduction

A docker image based on CentOS Linux with the s6 process supervisor

⁠What is CentOS Linux?

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.

⁠What is the s6-overlay?

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.

⁠Tags
TagDescription
latestThe most current build. Images based on latest may change often an possibly could break. Test your images
8, centos8Latest CentOS 8 series EOL
7, centos7Latest CentOS 7 series
6, centos6Latest CentOS 6 series EOL
8.2.2004CentOS Linux 8.2.2004 built on 2020-12-03
7.7.1908CentOS Linux 7.7.1908 built on 2019-11-21
7.5.1804CentOS Linux 7.5.1804 built on 2018-07-31
6.9CentOS Linux 6.9 built on 2018-07-31
2.1.0.2CentOS 8.2.2004 with S6 Overlay v2.1.0.2 built on 2020-12-03
1.22.1.0CentOS 7.7.1908 with S6 Overlay v1.22.1.0 built on 2019-11-21
1.21.4.0CentOS 7.5.1804 with S6 Overlay v1.21.4.0 built on 2018-07-31
1.20.0.0CentOS 7.4.1708 with S6 Overlay v1.20.0.0 built on 2017-09-19
1.19.1.1CentOS 7.4.1708 with S6 Overlay v1.20.0.0 built on 2017-09-19
1.18.1.5CentOS 7.2.1511 with S6 Overlay v1.20.0.0 built on 2016-09-30
centos8-2.1.0.2CentOS 8.2.2004 with S6 Overlay v2.1.0.1 built on 2020-12-03
centos7-2.1.0.2CentOS 7.9.2009 with S6 Overlay v2.1.0.1 built on 2020-12-03
centos7-1.22.1.0CentOS 7.7.1908 with S6 Overlay v1.22.1.0 built on 2019-11-21
centos7-1.21.4.0CentOS 7.5.1804 with S6 Overlay v1.21.4.0 built on 2018-07-31
centos7-1.20.0.0CentOS 7.4.1708 with S6 Overlay v1.20.0.0 built on 2017-09-19
centos7-1.19.1.1CentOS 7.4.1708 with S6 Overlay v1.20.0.0 built on 2017-09-19
centos7-1.18.1.5CentOS 7.2.1511 with S6 Overlay v1.20.0.0 built on 2016-09-30
centos6-1.21.4.0CentOS 6.9 with S6 Overlay v1.21.4.0 built on 2018-07-31
centos6-1.20.0.0CentOS 6.9 with S6 Overlay v1.20.0.0 built on 2017-09-19
centos6-1.19.1.1CentOS 6.9 with S6 Overlay v1.20.0.0 built on 2017-09-19
centos6-1.18.1.5CentOS 6.8 with S6 Overlay v1.20.0.0 built on 2016-09-30
⁠Issues

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⁠

⁠Prerequisites

A working docker daemon would be helpful to utilize this image.

⁠How to use 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.

⁠Usage
⁠Running a quick CentOS linux container
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.

⁠Dockerfile that is based of of this image.
FROM project42/s6-centos:latest

RUN yum -y update && \
yum -y install epel-release && \
yum -y update && \
yum -y install cowsay

ENTRYPOINT ["/init"]

⁠Configuration

⁠Configuration Parameters
EnvironmentDescription
TZSets the container Timezone; example: CST6CDT default: UTC

⁠Maintenance

⁠Shell Access

This image includes the bash shell and when running in detached mode can be connected to with:

docker exec -ti <container> bash

⁠References

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⁠

Tag summary

Content type

Image

Digest

Size

80.3 MB

Last updated

almost 6 years ago

docker pull project42/s6-centos