Skip to content

Docker recipe to build a CentOS GNU/Linux image

License

Notifications You must be signed in to change notification settings

fscm/docker-centos

Repository files navigation

CentOS Linux for Docker

A small CentOS Linux base image designed for use in containers.

All non-required packages were removed to create this small image. When using this image you may have to install some of the packages that usually are installed on a regular CentOS Linux image.

Supported tags

What is CentOS?

The CentOS Project is a community-driven free software effort focused on delivering a robust open source ecosystem. For users, we offer a consistent manageable platform that suits a wide variety of deployments. For open source communities, we offer a solid, predictable base to build upon, along with extensive resources to build, test, release, and maintain their code.

from centos.org

Getting Started

There are a couple of things needed for the script to work.

Prerequisites

Docker, either the Community Edition (CE) or Enterprise Edition (EE), needs to be installed on your local computer.

Docker

Docker installation instructions can be found here.

Usage

To start a container with this image and run a shell use the following command (the container will be deleted after exiting the shell):

docker container run --rm --interactive --tty fscm/centos bash

Build

Build instructions can be found here.

Versioning

This project uses SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Frederico Martins - fscm

See also the list of contributors who participated in this project.