Building Container Images

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

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.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

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

docker images

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 spacebones:thewebsite

docker commit websetup spacebones:thewebsite

Additional Resources

In this activity, you are tasked with migrating the SpaceBones official Government website from Ubuntu to CentOS 6 by preparing a CentOS 6 image found on DockerHub to run Apache.

Use the website contents found in the content-dockerquest-spacebones GitHub repository (specifically contents found under the /doge/ directory) to recreate the website on CentOS. Good luck!

What are Hands-on Labs

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.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?