Building a Docker image from a Dockerfile, creating a latest tag and pushing it on DockerHub are equivalent to executing three different commands manually. This could be automated by creating a bash script. Well, that was not a big deal until I had a requirement where I needed to perform above actions and additional task of immediately...
This blog post is about using docker-compose, a tool provided by docker to define and run multi container application using a single command. It uses a docker-compose.yml file as default input file. I got a use case which was to run a Nodejs application behind a Nginx acting as a reverse proxy in two different Docker containers. This...
Docker monitoring is very important when it comes to using Docker. In my last blog, I talked about how we can monitor the status of a Docker container using a bash script and AWS CloudWatch. In this blog, I will be telling you how to get insights of your Docker container using a tool called Ruxit. Ruxit is a tool that I found as I...
In my last blog, we discussed how to setup MongoDB replica set on Docker, and in this blog we'll be discussing setting up MongoDB docker containers using Chef. After going through this blog, you will be able to setup multiple MongoDB customized docker containers with ease. Use Case: As discussed in the previous blog, we earlier use...
There are no such tools till now to monitor whether your Docker container is running or not. Now, I had a Docker container running in production and I could not afford not knowing whenever it went down or rather stopped. So, I decided to do something about it. The blog is about the same. What we will be doing is checking whether the...
This blog post refers to a new addition in the Docker Family i.e. Kitematic. A lot of development is going around Docker Kitematic. Kitematic is basically a graphical User Interface that is used to manage docker containers. It integrates with the individual's Docker hub account and one can manage and use his/her Docker repos using...
In my previous blog, I talked about setting up sendmail inside a Docker container. In this blog, we will talk about how to make your Docker containers come up during Auto-scaling of AWS servers, start, and use a service like sendmail inside them. You can make changes to scripts based on your use-case. I just want to make the logic...
In the previous blog, we discussed about how to setup MongoDB replica set on AWS EC2. In this blog post, we will be discussing about setting up MongoDB replica set of three Docker containers running on a single host. After going through this blog, you will be able to setup MongoDB replica set in a few minutes and it will be easy to...
In my last blog, we talked about setting up a WordPress site on Docker. I hope you all are now clear on how Docker works & how you can set up your own PHP applications on it. In this blog, we will be talking about how to send emails from your Docker container. My use-case was that, I had a PHP application running inside a Docker...
Docker machine is a new advancement of Docker team to manage docker servers. Using this tool, different docker server or hosts can be managed from a single workstation, be them in local LAN or on public or private cloud. Using docker-machine, we can provision docker instance at virtualbox, AWS, azure cloud, digital ocean, rackspace,...
Docker has gained a lot of attention these days. The main reasons which we know of are that it saves a lot of resources & one can have n number of environments within one server/machine. It being platform independent, is one more plus point for using docker & hence is one of the fastest growing technologies. In this blog we...
Introduction Docker is an open source platform which can be used to run/test applications in an isolated environment on the host system. Docker could be defined as an implementation of container using the concept of images. Unlike VM which is a complete OS intalled on host system managed by hypervisors and needs dedicated resources...