To make it easy for you to deploy your application to Azure we’ve built a container that has the AzureCLI installed. We will set up a simple example showing you how to configure any deployment to Azure. If you don’t have Docker yet you can get it here
With command Docker pull microsoft/azure-cli you get the latest Container
With the command docker run -it microsoft/azure-cli you will start the Container
Now you have the latest Azure CLI in a Docker Container
From inside the Microsoft Docker Container we will make a connection to a Azure subscription, if you don’t have a Microsoft Azure subscription you
can get your free Azure trail subscription here
My Microsoft Docker Container is running.
with command Azure Login you will start the login process
Copy the url https://aka.ms/devicelogin in your browser :
Copy your code from the container login into the Device login
Click on Continue for Microsoft Azure Cross-Platform CLI Login
Login with your Microsoft Azure account of your subscription
Done !
The Microsoft Docker Container with the latest Azure CLI is connected with your Azure Subscription
From here you can do a Continuous Delivery to Microsoft Azure with Docker and #Code.
With the Command Azure Lab you see I can manage my Azure Dev/Test LAB from my Docker Container
Here you see my Container01 in JamesTestLAB in Azure
With the Command Azure vm start we run the Azure Container01
Now the Azure Container01 is running and started from a Microsoft Docker Container with Azure CLI
Get started with Azure CLI 2.0 Technical Docs
Have a look at CodeShip here to make it your self easy for continuous delivery on Microsoft Azure Cloud