CloudAcademy

Getting Started with Docker on Windows

Lab Steps

keyboard_tab
lock
Logging into the Microsoft Azure Portal
lock
Connecting to the Virtual Machine (RDP)
lock
Getting Docker on Windows
lock
Getting Docker Help from the Command Line
lock
Running Your First Docker Windows Container
lock
Understanding Docker Images and Dockerfiles
lock
Creating an ASP.NET Docker Image
lock
Cleaning Up Your Docker Windows Containers and Images

Ready for the real environment experience?

DifficultyBeginner
Duration2h
Students172

Description

Lab Overview

Docker has taken DevOps by storm and ignited interest in containers. Containers offer many of the benefits of virtual machines, but in a much more efficient, less resource-intensive system. Containers allow you to package up an application in an isolated environment that can be executed across machines in a reproducible manner. No more "well, it worked on my machine" syndrome when you leverage Docker for your application development and deployment.

Until recently, Docker has been limited to running Linux containers, but now Docker is making waves into Windows circles. Microsoft's improvements to containerize Windows has allowed Windows 10 and Windows Server 2016 to run Docker Windows containers. All the benefits of containers now for Windows! Examples of popular Windows applications available as containers on Windows include: IIS web server, SQL Server database, and .NET applications. 

In this lab you will get up and running with Docker on Windows using a Microsoft Azure virtual machine. You will work with images from the public Docker registry, and create several images to create containers from.

Lab Objectives

Upon completion of this lab you will be able to:

  • Use Docker on Windows
  • Create Windows container images for:
    • IIS web sites
    • .NET applications
    • Python applications
  • Understand the options for Windows base images

Lab Prerequisites

You should be familiar with the following:

  • What containers are
  • Working at the command line in Windows
  • Using a Remote Desktop client installed on your machine

Lab Environment

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

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

Updates

May 17th, 2018 - Improved Lab startup performance and robustness

About the Author

Students10116
Labs67
Courses6
Learning paths3

Logan has been involved in software development and research for over eleven years, including six years in the cloud. He is an AWS Certified DevOps Engineer - Professional, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, and Certified Kubernetes Administrator (CKA). He earned his Ph.D. studying design automation and enjoys all things tech.

Covered Topics