



So, our docker image represent our website and we want to deploy this image to Microsoft Azure, so it can be accessed from our users. So now we have access to this image from anywhere using a url and Microsoft azure will be able to download this image when needed. So, we build the image on local development machine and then push it to dockerhub. I used the following command to push this image to dockerhub:Īnd here you can see that image on dockerhub: Here is the build image on my local machine: The image is based on nginx alpine Linux and self explanatory. I already have an organization setup on dockerhub and you can setup one for you free of change. This is an online place, where you can save your docker images and later can access those from Microsoft Azure web-app deployment. Like github, dockerhub is a central repository for docker images. Check the web app URL again, and confirm that changes have been reflected.Enable Continuous Deployment (need a Webbhook URL for this which you can setup at dockerhub).Associate the Image to one at dockerhub (via url).(so, we will skip this step as we already have an application) Vending Machine demo (front end only application) – you can use your app if you like.Here is an overview of tasks we will be doing in this post: Here is the running application in Docker container on Microsoft Azure: I am also assuming that you have Docker installed on your machine and you are familiar with its building blocks and commands. I wanted to keep this post's focus only on the necessary parts of Docker, Microsoft Azure, and continuous deployment at a very simple level. Also I wont be going in the details of application itself, I already have a web application (front end spa) that I have been using for other posts, and it is called a Vending-Machine Simulator. This post is not about what Docker is and why you should use it. Most users are familiar with windows-based setup installation wizards, but Docker is changing the way we install and distribute software. We all at some point installed software(s) on our system, one more than the others. That was my feeling when I tried Microsoft Azure Container deployment solution (web app) and it worked very smoothly and within minutes the application was up and running. I think I’ll get me a nice treat tonight. It's like Mona Lisa putting on her party dress as she watches the sunset before the fish and goose soiree. I love it when a tech solution just works right out of the box on the first try.
