Initializing the Docker Environment

Get Started
15 minutes
  • 4 Learning Objectives

About this Hands-on Lab

Docker is the leading containerization platform. If you are using containers, you are likely using Docker. In order to work with Docker, you must have the Docker daemon, and CLI available. This lab teaches you how to set up your environment, so you can get started working with Docker today!

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Install Docker
  1. Install the latest version of Docker from Docker’s repository.
Enable the Docker Daemon
  1. Using systemd, start the Docker daemon, and set it to run at startup.
Configure User Permissions
  1. Add your user to the docker group.
Run a Test Image
  1. Run the hello-world image to ensure everything was installed properly.

Additional Resources

Scenario

Your company wants to migrate its main website to containers, to be more responsive to recent growth, and bursts in traffic. You have been tasked with leading the migration effort.

Your company's servers, and your local workstation, use CentOS. Where do you start?

By installing Docker on your local machine, you can test how containers work, and develop a plan for moving the website into containers.

Lab Goals

This lab has you practice installing Docker in three easy steps:

  1. Install the docker daemon and CLI from the Docker repo.
  2. Enable the Docker daemon.
  3. Configure your account to use Docker without root permissions.

Once configuration is complete, run the hello-world container to ensure everything is set up properly.

Logging in to the lab environment

Log in to the server using the credentials provided:

ssh cloud_user@<PUBLIC_IP_ADDRESS>
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 $399 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.


$1,995.00

Checkout
Sign In
Welcome Back!
Thanks for reaching out!

You’ll hear from us shortly. In the meantime, why not check out what our customers have to say about ACG?