clefos has 866,542 recorded pulls on Docker Hub, ranking #270 of 1,265 tracked listings.
About clefos
DEPRECATION NOTICE
With the EOL of CentOS 7 (June 30, 2024), this image/project is officially deprecated. Please adjust your usage accordingly.
Quick reference
-
Maintained by:
The ClefOS Project -
Where to get help:
the Docker Community Slack, Server Fault, Unix & Linux, or Stack Overflow
Supported tags and respective Dockerfile links
No supported tags
Quick reference (cont.)
-
Where to file issues:
GitHub -
Supported architectures: (more info)
No supported architectures -
Published image artifact details:
repo-info repo'srepos/clefos/directory (history)
(image metadata, transfer size, etc) -
Image updates:
official-images repo'slibrary/clefoslabel
official-images repo'slibrary/clefosfile (history) -
Source of this description:
docs repo'sclefos/directory (history)
ClefOS
ClefOS Linux is a community-supported distribution for IBM Z (aka "mainframe") derived from sources freely provided to the public by CentOS which in turn is derived from the Red Hat sources for Red Hat Enterprise Linux (RHEL). As such, ClefOS Linux aims to be functionally compatible with CentOS and RHEL. The ClefOS Project mainly changes packages to remove upstream vendor branding and artwork. ClefOS Linux is no-cost and free to redistribute. Each ClefOS Linux version is maintained and released according to the CentOS schedule.

ClefOS image documentation
The clefos:latest tag is always the most recent version currently available.
Building the Base Image
The image is built via the make command which will create the tarball and build the image.
The createBase.sh script is used to create the tarball for the docker build command. The script uses the yum command with the tsflags=nodocs option set to reduce the size of the image. In addition a lot of the locale files are eliminated from the image.
The VERSION file contains the id of the current ClefOS version and will be added as a label within the image.
Rolling builds
The ClefOS Project offers regularly updated images for all active releases. These images will be updated monthly or as needed for emergency fixes. These rolling updates are tagged with the major version number and minor tags as well. For example, if 7.4.1708 is the most current then the build will result in clefos:7 and clefos:7.4.1708. When the next minor level is available then clefos:7 and clefos:7.x.yymm will be identical.
Overlayfs and yum
Recent Docker versions support the overlayfs backend, which is enabled by default on most distros supporting it from Docker 1.13 onwards. On ClefOS 7, that backend requires yum-plugin-ovl to be installed and enabled; while it is installed by default in recent clefos images, make it sure you retain the plugins=1 option in /etc/yum.conf if you update that file; otherwise, you may encounter errors related to rpmdb checksum failure - see Docker ticket 10180 for more details.
Package documentation
By default, the ClefOS containers are built using yum's nodocs option, which helps reduce the size of the image. If you install a package and discover files missing, please comment out the line tsflags=nodocs in /etc/yum.conf and reinstall your package.
Systemd integration
Systemd is not included in both the clefos:7 and clefos:latest base containers, but can be created from these bases:
Dockerfile for systemd base image
FROM clefos:7
ENV container docker
RUN yum install -y --setopt=tsflags=nodocs systemd && \
yum clean all && \
rm -rf /var/cache/yum/* /tmp/* /var/log/yum.log
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\
rm -f /etc/systemd/system/*.wants/*;\
rm -f /lib/systemd/system/local-fs.target.wants/*; \
rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \
rm -f /lib/systemd/system/basic.target.wants/*;\
rm -f /lib/systemd/system/anaconda.target.wants/*;
VOLUME ["/sys/fs/cgroup"]
CMD ["/usr/sbin/init"]
This Dockerfile deletes a number of unit files which might cause issues. From here, you are ready to build your base image.
$ docker build --rm -t local/c7-systemd .
Example systemd enabled app container
In order to use the systemd enabled base container created above, you will need to create your Dockerfile similar to the one below.…
Description from the Docker Hub listing.
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Pulls on a linear scale. Placement is projected from pulls, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (6)Similar Docker Hub Operating systems plugins
All 20 clefos alternativesData source
Cumulative pull counts and stars come from the public Docker Hub API. Pulls count image downloads (including automated CI pulls), not installs or users.
Listing: https://hub.docker.com/_/clefos. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.