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. It is easier to maintain, share, and reuse them. There is a complete manual about it here. Github is full of dockerfiles created by others. In this case we are going to dockerize mongodb. I changed an existing dockerfile in this manual. ...

April 5, 2015 · 5 min · Amir Mohtasebi

Hosting Docker Containers on Azure - Part 1

Docker is an open platform that helps developers, testers, and Ops team to develop, test, and deploy containers to different environments faster and in an efficient manner. Multiple containers can be hosted in one virtual machine so: It reduces the need to configure virtual machines, Containers are hosted in isolation and they cannot affect each other. Containers sharing the OS core and it leads to smaller size, faster boot time, as well as better utilization of resources Containers can be stored and be reused for future use The legacy implementation that is purely based on VMs, uses a VM per application and all VMs are managed by a Hypervisor: ...

April 3, 2015 · 3 min · Amir Mohtasebi

WCF Shared Exception Handling Approach

In one of the projects we are using WCF as a gateway that routes or aggregates messages to or from other services. We are trying to keep the business logic implementation away from this layer and move it to the backend and use it more as a way to provide a canonical interface for other clients. We stumbled upon a situation that we required to pass the exceptions from one service to other services. The first solution was: ...

March 18, 2014 · 4 min · Amir Mohtasebi

2013

Laziness at the end of 2013 begs for a blog post reviewing the long way I came last year. To put it in a nutshell, year 2013, at least since March, was the best year I've ever had. Moving to a new and completely different environment, less stress, new job, and talented, nice people made this year a perfect one. Last year around this time, I was thinking, miserably, if I made a right choice? Since I was a teenager I always made my decisions to prioritise work and investing on software development stuff over studying in good and high profile colleges and unis. Something all my friends voted against. What makes 2013 special is that proved my decision was right. My skill, not my college degrees, helped me to find my stability and survive. ...

December 31, 2013 · 2 min · Amir Mohtasebi
Mastodon