- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Creating User Accounts and Validating the Docker Module in Cockpit
In this hands-on lab, we are going to use Cockpit to create user accounts and manage the life cycle of a Docker image. The first step will be to log in to Cockpit and create two user accounts in the `Accounts` module. This will be followed by confirming the `Containers` module is installed and then download the container image for testing. The last step will be to use the `Containers` module and simulate a container life cycle using the downloaded image.

Lab Info
Table of Contents
-
Challenge
Confirm the required modules are available
- Launch a web browser and log in to the Cockpit console on port 9090.
- Confirm the
Accounts
andContainers
modules are available.
-
Challenge
Create two Linux user accounts
- Select the
Accounts
module. - Create Linux accounts for
Michael Bolton
andSamir Nagheenanajar
, setting the passwords toDevSupport123
.
- Select the
-
Challenge
Download a Docker image for testing and start an instance
- Select the
Containers
module. - Download a container image using the Get new image functionality.
- Search for
nginx
in the image search field. Select the image and download it.
- Select the
-
Challenge
Manage the lifecycle of a Docker container using the downloaded image
- Start a container using the
nginx
image. - Set the Container Name to
nginx_test
and accept the default configuration. - View the nginx_test container details and confirm it is running properly.
- Stop and delete the nginx_test container.
- Delete the nginx image.
- Start a container using the
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.