Sign inSign up

project42/syslog-centos

By project42

•Updated 6 months ago

CentOS with the S6 Overlay that redirects /dev/log to stdout & stderr for docker happiness!

Image
0

2.0K

project42/syslog-centos repository overview

⁠project42/syslog-centos

pipeline status

⁠Introduction

A docker image based on CentOS with the S6 Overlay that redirects /dev/log to stdout & stderr for docker happiness!

⁠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
centos7Latest CentOS 7 series
centos6Latest CentOS 6 series
7.5.1804CentOS Linux 7.5.1804 built on 2018-08-02
6.9CentOS Linux 6.9 built on 2018-08-02
⁠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/syslog-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/syslog-centos:latest

RUN 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/syslog-centos-docker⁠

Github Issues: https://github.com/p42/syslog-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

sha256:b2311f9f6…

Size

155.8 MB

Last updated

6 months ago

docker pull project42/syslog-centos