Install and run docker container on RHEL7

Install docker client and daemon aka engine

yum install -y docker

Start and enable the service

systemctl start docker.service
systemctl enable docker.service

Lets check the version of docker installed

# docker -v
Docker version 1.8.2-el7, build a01dc02/1.8.2

docker version gives us more information
Continue reading “Install and run docker container on RHEL7”

Install and run docker container on RHEL7

A good part of today was spent on understanding the order of filesystem mounting in RHEL6

I have been living under the assumption that in Linux, filesystems are mounted solely based on the order in /etc/fstab. This is true only as long as they are the same filesystem type- local or network. I spent a good deal of time today revisiting the boot process and understanding the order of mounting in RHEL 6. And this post applies to RHEL 6 because I can’t say for sure for other distro or other RHELx without a close look but I am guessing it should be close to similar for pre-RHEL6 versions.

The Problem
User wants to mount an NFS volume with a dependency on local lv. Thinking the order is what matters in fstab, I place it like this in fstab and reboot.
Continue reading “A good part of today was spent on understanding the order of filesystem mounting in RHEL6”

A good part of today was spent on understanding the order of filesystem mounting in RHEL6

No more googling for subnet cheat sheet

As server guy who does not deal with subnet masks on a daily basis, whenever I need to find the mask of a given CIDR, I google for “subnet cheat sheet”. As this blog is meant to be “personal cookbook” first, why not create the cheat sheet right here, I thought. I was able to calculate the no. of hosts in my head upto 8190 🙂 Continue reading “No more googling for subnet cheat sheet”

No more googling for subnet cheat sheet