Azure Bootcamp Prerequisites - Docker on Azure
Below are the prerequisites for the Global Azure Bootcamp hands on lab “Docker on Azure”.
Exercise Files
The exercise files are located in this GitHub repository.
Note: The GitHub repo is HUGE. I create a smaller zip file of the Docker files for the lab here if you don’t want to clone the whole repository.
PuTTY
Install PuTTY from here: http://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Docker for Windows
Install Docker for Windows from the Stable channel here: https://docs.docker.com/docker-for-windows/install/
Docker for Windows installs the Docker Client and Docker Daemon which allows you to run both Linux and Windows based containers.
Visual Studio Tools for Docker
Docker support needs to be installed as an extension in VS 2015, and a workload in VS 2017, the examples for each are described below.
- For Visual Studio 2015
- Install .NET Core 1.0.1 VS 2015 Tooling Preview 2SDK
- You need this specific version or the extension will not install
- Tools for Docker Extension
- In Visual Studio 2015, go to Tools->Extensions and Updates
- Search for docker tools and click download
- Open the downloaded file to install
- Create a new .NET Core application, right click on the project, select Add and verify that “Docker Support” is listed.
- Install .NET Core 1.0.1 VS 2015 Tooling Preview 2SDK
- For Visual Studio 2017
- Go to Start->Visual Studio Installer
- Click Modify
- Select the “Azure Development” Workload
- Select the “.NET Core cross-platform development” Workload
- Click modify to install
- Create a new .NET Core application, right click on the project, select Add and verify that “Docker Support” is listed.
Docker Hub Account
Sign up for a Docker Hub account
Docker Hub is a repository for both Linux and Windows Docker images.
We will use Docker Hub to host an image that will then be deployed to Azure.