- A Cloud Guru
Building Container Images
Welcome back! President Squawk extends his deep gratitude for your assistance with launching the SpaceBones website in the previous activity using the existing image provided, but as a Red Hat Fanbird he has requested that the site be migrated to an RPM environment -- specifically `CentOS 6`. Because of your stellar performance so far, The President has requested that you handle the migration & create a new image.
Table of Contents
Pull the CentOS 6 Image from DockerHub
The student is being asked to pull the latest CentOS 6 image from the DockerHub. This can be accomplished via:
docker pull centos:6
You can verify with
Which will show the local image installations, of which, CentOS:6 will now be one
Create a Local Image from the Downloaded CentOS 6 Base
student should create a new image using the Centos 6 image named
docker commit websetup spacebones:thewebsite
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.