Hamburger Icon
  • Labs icon Lab
  • Core Tech
Google Cloud Platform icon
Labs

Build a Containerized Application with Docker

In this lab, you will gain hands-on experience in building, running, and managing containerized applications using Docker. By the end of the lab, you will have a fully optimized, production-ready Dockerized application.

Google Cloud Platform icon
Labs

Path Info

Rating
(55 reviews)
Level
Clock icon Beginner
Duration
Clock icon 55m
Published
Clock icon Jan 17, 2025

Contact sales

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

Table of Contents

  1. Challenge

    Getting Started in the Lab Environment

    Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!

  2. Challenge

    Create, Run, and Test a Dockerized Application

    To start, you will create and manage a Docker container. You will begin with a base image, copy application files, build a Docker image with a Dockerfile, and run it in a container with port mapping. Afterward, you’ll test the application by accessing it through HTTP, ensuring proper functionality. The challenge will also cover stopping and removing containers once testing is complete.

  3. Challenge

    Manage and Monitor Docker Containers for Lifecycle, Port Mapping, and Resource Usage

    In this challenge, you will learn how to manage Docker containers and monitor their resources easily. You will create, run, and use Ubuntu and NGINX containers, and will also practice using commands to check, start, stop, restart, and delete containers. You will solve problems using logs, and track container performance in real-time with Docker stats.

  4. Challenge

    Lightweight Docker Containers: Design, Optimize, and Tag

    To finish things off, you will learn to optimize containerized applications by reducing Docker image size, selecting lightweight base images, and ensuring efficient workflows. You will explore techniques to tag Docker images with versioning for reusability, and enhance collaboration by following best practices in container development.

  5. Challenge

    The Last Challenge

    Welcome to the final challenge! This is your last chance to experiment in the environment. Clicking Finish Lab will end this little world that flittered into existence just for you.

Shikhar is a professional system administrator and consultant that has a particular interest in all things related to Linux administration, shell scripting, cloud, Ansible, and automation. He loves making complex technical topics easy to understand. He is an AWS Certified Solutions Architect Associate. He has utilized his IT skills in many Fortune 500 companies. Shikhar has been teaching since 2015 and provides onsite and online training on many IT subjects.

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.