- Lab
- A Cloud Guru
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.
Path 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
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.