CentOS 5527 Published by

Docker images of CentOS 6 and 7 are now available



We would like to announce the availability of CentOS Linux docker
images, via the docker index.


===========
Information

To use these images, you will need to first install and start the
docker service. Documentation about this may be found at
http://wiki.centos.org/Cloud/Docker or
https://docs.docker.com/installation/centos/

The kickstarts used to build these images are located at
https://github.com/CentOS/sig-cloud-instance-build.

========
Download

Once docker is running, you can download the images using the command:

docker pull centos

Once docker is finished fetching the images, you can verify them by
using the command:

docker images

This command should display output similar to:


[jperrin@lappy ~]$ docker images
REPOSITORY TAG IMAGE ID CREATED
VIRTUAL SIZE
centos centos7 1a7dc42f78ba 5 hours
ago 236.4 MB
centos latest 1a7dc42f78ba 5 hours
ago 236.4 MB
centos centos6 cd934e0010d5 17 hours
ago 206.9 MB



=====
Usage

running the default 'centos' image will use the latest release, CentOS-7.

[jperrin@lappy ~]$ docker run -i -t centos /bin/cat /etc/centos-release
CentOS Linux release 7.0.1406 (Core)


To use the CentOS-6 image, you must specify the tag in the command:

[jperrin@lappy ~]$ docker run -i -t centos:centos6 /bin/cat
/etc/centos-release
CentOS release 6.5 (Final)

  CentOS 6 and 7 Docker Images