Software Development, Testing, and Delivery with Docker

Lab Steps

Logging into the Microsoft Azure Portal
Connecting to the Lab Provisioned Virtual Machine
Getting to Know the Application
Containerizing the Application
Creating Your Own Docker Registry
Composing Multi-Container Environments
Composing the Production Environment
Developing and Releasing an Update to Production

The hands-on lab is part of these learning paths

Docker Certified Associate (DCA) Exam Preparation (Preview)
course-steps 4 certification 1 lab-steps 5
Building, Deploying, and Running Containers in Production
course-steps 5 certification 3 lab-steps 14 description 1
Refactoring a Monolithic .Net Application to use Cloud Services
course-steps 4 certification 2 lab-steps 6

Ready for the real environment experience?

Time Limit2h
star star star star star


Lab Overview

Docker has propelled containers to the forefront of software development and delivery. In this Lab, you will learn how to take an existing application and containerize and connect its tiers using Dockerfiles, user-defined networks, and the Docker Compose tool. You will also see how you can use Docker to simplify your software processes at each of the development, test, and delivery phases. The Lab environment simulates a real-world scenario with separate development, test, and production servers. You will create your own Docker Registry to manage different versions of the application and share the container images across environments. You will also take a software update from development, through test, to production deployment using Docker.

Lab Objectives

Upon completion of this lab you will be able to:

  • Containerize an existing application
  • Connect containers using user-defined networks
  • Use Docker Compose to create multi-container environments
  • Set up a private Docker Registry
  • Develop, test, and deliver containerized software
  • Release updates to production with containers

Lab Prerequisites

You should be familiar with the following:

  • Docker containers, images, and registries
  • Working at the command line in Linux
  • Connecting to virtual machines using SSH

The Getting Started with Docker on Linux Lab is a good way to fulfill the prerequisites.

Lab Environment

Before completing the lab instructions, the environment will look as follows:

After completing the lab instructions, the environment should look similar to:


April 29, 2020 - Added a validation check function to validate the work done in the lab.

July 9th, 2018 - Updated to use newer versions of Docker and Docker Compose. Also upgraded VMs to SSD SKUs.

About the Author

Learning paths14

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), Linux Foundation Certified System Administrator (LFCS), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.