Working with Docker Images

30 minutes
  • 4 Learning Objectives

About this Hands-on Lab

Time to put your Docker image skills to the test! In this lab, you will use your newfound knowledge of Docker images to pull, build, and launch containers.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Pull the latest `alpine` image.
  1. Pull the latest alpine image from Docker Hub:

    docker image pull alpine:latest
  2. You can confirm it is there with:

    docker images
Pull the latest `httpd` image.
  1. Pull the latest httpd image:

    docker pull httpd:latest

    Note: If you don’t put the version, the latest version is assumed.

Pull nginx 1.15.
  1. Pull nginx version 1.15:

    docker pull nginx:1.15
  2. To confirm that it is there:

    docker images
Compare the history.
  1. Look at the history for both the httpd and nginx images.

    docker history httpd
  2. Note the following command gives an error because the latest version is assumed:

    docker history nginx
  3. When you specify the right version, the command succeeds:

    docker history nginx:1.15

Additional Resources

Put your knowledge to the test by pulling the latest Alpine and CentOS images from Docker Hub.

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.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

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