Hosting Docker Containers on Azure - Part 2

In the previous part, we created a Docker host OS on Azure. Now that we have a host OS ready, we can create different containers on top of it. In this post we will create a mongodb container and host it on our azure host OS. There are multiple ways to do this. In here we are trying a more reusable way: Creating Dockerfile Building an image based on the Dockerfile Pushing the image to Docker Hub repository Run a new container on Azure Creating Dockerfile Dockerfile is like a step by step instructions file that tells docker how to create an image....

April 5, 2015 · 5 min · Amir Mohtasebi
Mastodon