DevOps

Examples of creating command alias in different shells

Alias for commands lets you define your own short easy to remember command shortcuts. Below are some examples of defining…

Introduction to sed (Stream Editor) : Useful sed Command Examples

Introduction to the sed Editor The term sed stands for stream editor. Sed can take its input from standard in,…

Bash for loop Examples

There are many times in a shell script when you want to repeatedly execute a statement or group of statements…

How to update/add a file in the Docker Image

The post discusses how to alter a standard docker image pulled from a Public repository in Docker hub as per…

How to Build and push Docker Image to the Docker Hub Repository

The post discusses how to build and push docker images on local docker system to the docker hub repository. For…

How to install Docker on Mac

Installing Docker on Mac is pretty straightforward. It has a Graphical installer .dmg file. The installation provides Docker Engine, Docker…

How to List / Start / Stop / Delete docker Containers

What is a Docker Container A running instance of an image is called a container. Docker launches them using the…

How to List / Search / Pull docker images on Linux

What is a Docker Image Docker images are a read-only template which is a base foundation to create a container…

Docker Troubleshooting – “conflict: unable to delete, image is being used by running container”

The problem When you are trying to remove a Docker Image, you get an error as shown below. # docker…

How to resolve Docker Search Command Error – “getsockopt: no route to host” in CentOS / RHEL / Fedora

The Problem When trying to search docker images under docker repository, returns with error below : # docker search centos…