Release For CentOS 6 And 7 Images In The Docker Index
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)
====Thanks
We would like to thank Chris StPierre for his initial work with docker, and developing the kickstarts used for the build process.
–
Recent Comments