Install and Configure Elasticsearch: Step by Step Guide

Install and Configure Elasticsearch in Centos 7 Step 1 – Download and Extract Elasticsearch Step 2 – Run and Verify Elasticsearch Images for Elasticsearch Install Validation Install Elasticsearch with Docker…

Read more »

The Docker command Line Complete Referenece

Docker Commands – First Commands Command Description info Display system-wide information version Show the Docker version information Docker Commands – Working with Containers Command Description attach Attach local standard input,…

Read more »

Difference between docker attach and docker exec

Attach The docker attach command allows you to attach to a running container using the container’s ID or name, either to view its ongoing output or to control it interactively….

Read more »

Docker Commands Tutorial – docker events

Docker Events Types? Docker containers will report the following events:attach, commit, copy, create, destroy, detach, die, exec_create, exec_detach, exec_start, export, kill, oom, pause, rename, resize, restart, start, stop, top, unpause,…

Read more »

Docker Installation and Configurations

Docker Installation in Centos/RHEL How to install Docker Community Edition via YUM? Step 1 – Install required packages. yum-utils provides the yum-config-manager utility, and device-mapper-persistent-data and lvm2 are required by…

Read more »

What is Docker?

Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Docker is a platform for developers and sysadmins to develop, ship, and run…

Read more »

How is Docker different from a normal virtual machine?

Through this post we are going to draw some lines of differences between VMs and LXCs. Lets first define them. VM:A virtual machine emulates a physical computing environment, but requests…

Read more »

Where is the Docker daemon log

It depends on your OS. Here are the few locations, with commands for few Operating Systems: Ubuntu – /var/log/upstart/docker.log Boot2Docker – /var/log/docker.log Debian GNU/Linux – /var/log/daemon.log CentOS – /var/log/daemon.log | grep docker CoreOS – journalctl…

Read more »

What are the differences between a VM image and a Docker image?

These are some differences between a docker and a VM image which I could list out: 1. Snapshot process is faster in Docker than VMs We generally start with a…

Read more »

Docker Lab, Excercise & Assignment – 7

Inspect the containers to find out the following information. What environments variables, Env, are available in the containers? What ports are exposed, ExposedPorts, in the containers? What command, Cmd and…

Read more »

Docker Lab, Excercise & Assignment – 6 – Docker Linking

Required Images. Run the mySql Docker Container Run the wordpress Docker Container Run the following commands and what kinds of environment variables its get exposed to wordpress after linking the…

Read more »

Docker Lab, Excercise & Assignment – 5 – Docker Registry

Lesson Objectives Understanding where images come from Pulling a Docker image from Docker Hub Pushing a Docker image to Docker Hub Getting an image from Docker Hub Docker Hub is the…

Read more »

Docker Lab, Excercise & Assignment – 4 – Docker Networking

Basics of Docker Networking Docker automatically sets up the bridge by default and automatically allocates every container a dynamic ip address out of subnet ranges When you install Docker, it…

Read more »

Docker Lab, Excercise & Assignment – 3 – Docker Volume

Simple Flow to Create Volume /john1 The volume is exist even you restarts. Lets build a image with predefined Volume Mapping between Host Volume and Containers Senario 1 – Read…

Read more »

Docker Lab, Excercise & Assignment – 2

Start some containers In this section you will start up some containers that you can work with in the following sections. When all the containers are started it will look…

Read more »

Docker Lab, Excercise & Assignment – 1

Requirements Linux OS X Windows 7.1, 8 or newer BUT NOT Windows 10. Install Docker Installation and Configuration Pull commonly used images The following images will be used during the…

Read more »

Using a Dockerfile to Build a Fedora Container

The administrator may decide that building interactively is tedious and error-prone. Instead the administrator could create a Dockerfile that layers on the Apache Web server and the web site content…

Read more »

Understanding Dockerfiles instructions & options of Docker

As we saw in the Docker Image Lab 1, creating a images using existing containers, the general Docker workflow was: start a container based on an image in a known state…

Read more »

Creating Docker Image – Step by Step Guide

Setting up the prerequisites Listing images on the host If you do not have ubuntu:14.04 images, please download it using following commands. Verify the ubuntu:14.0 image by running the following…

Read more »

Creating a simple parent base docker image using scratch

You can use Docker’s reserved, minimal image, scratch, as a starting point for building containers. Using the scratch “image” signals to the build process that you want the next command in the Dockerfile to be…

Read more »