#Setup Docker host on Azure There are multiple ways of provisioning a Linux-based Docker host.
- Install a Linux OS on a virtual machine and install Docker
- Use a pre-existing Linux image from Azure and install Docker
- Spin-up an already existing Docker image from the Azure Marketplace
During these exercises we will use the Docker image from the Azure Marketplace.
-
Login to the Azure Preview portal
-
Create a new Marketplace image
-
Search for 'Docker' and select 'Docker on Ubuntu Server'
-
Fill in the VM information
The Docker VM image automatically opens for port 22, so it can be accessed via SSH. You can open other ports via the Azure portal. Follow the open Azure endpoint guide.