Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

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.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 30m
Published
Clock icon Aug 28, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    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.
  2. Challenge

    Create two Linux user accounts

    • Select the Accounts module.
    • Create Linux accounts for Michael Bolton and Samir Nagheenanajar, setting the passwords to DevSupport123.
  3. 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.
  4. 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.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans