- Lab
- A Cloud Guru
Overview of Linux: Using Docker
In this hands-on lab, you will be provided a single CentOS Linux instance. Docker is preinstalled on this instance for your use. You have been asked by management to learn more about Docker. They heard that using Docker is easy to get a Linux instance up and running to use. To test this, you have been asked to start up an Ubuntu Linux container and then log in to it. This is to ensure the container is working and is an Ubuntu Linux instance.
Path Info
Table of Contents
-
Challenge
Log In to the Provided Server and Ensure It Is Ready
You have been provided with a preconfigured server: a CentOS instance with Docker preinstalled.
Log in to the servers as
cloud_user
with the provided passwords to ensure you can log in.Note: It may take a few minutes after the lab starts before you can use Docker. If you see a file called
ready.txt
in thehome
folder, then the lab is ready. If you don't see this file, then log out, wait 2 minutes, and log back in so that your user has the correct permissions to run Docker.If you get a permissions error when you run a Docker command, log out and log back in again.
-
Challenge
Using Docker, Run an Ubuntu Container
Use the commands required to start an Ubuntu container. It will need to be downloaded as the image will not already be installed.
-
Challenge
Connect to the Ubuntu Container and Test It Is Working
Test being able to connect to the container, and test it is an Ubuntu container.
Note: You may combine this step and the previous step — that is acceptable.
Once you have confirmed, you are finished with this hands-on lab.
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.