Skip to content

p42/s6-centos-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

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

Environment Description
TZ Sets 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

About

CentOS base with the S6 overlay

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •