Creating User Accounts and Validating the Docker Module in Cockpit

30 minutes
  • 4 Learning Objectives

About this Hands-on Lab

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.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Confirm the required modules are available
  • Launch a web browser and log in to the Cockpit console on port 9090.
  • Confirm the Accounts and Containers modules are available.
Create two Linux user accounts
  • Select the Accounts module.
  • Create Linux accounts for Michael Bolton and Samir Nagheenanajar, setting the passwords to DevSupport123.
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.
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.

Additional Resources

The development team at your company is evaluating Docker as an option to simplify testing environments. The majority of the developers are not familiar with Docker management and have determined they would like to see if Cockpit can manage containers well enough to meet the teams requirements. A server has been provisioned for the project and senior leadership would like to have two developers, Michael Bolton and Samir Nagheenanajar, pilot the Cockpit management process.

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!