Saturday, 15 April 2017

Docker : A tool which is silently creating revolution in 'DevOps' way!

Docker  
   
 is a containerisation platform which package our application and all its dependencies together in form of containers to ensure that our application works seamlessly in any environment be it Development, Test or Production.

Docker is not just another stack in virtual machine (VM) concept. To relate containerisation is just virtualisation at the OS level. 
Taken from some online tutorial.
Why Docker?
Containers on same OS kernel are lighter & smaller.
Containerisation brings process level isolation.
Better resource Utilisation compared to VM.
Short Boot-up process (1/20th of a second).

VM Vs Docker at glance:-
source:Internet

Docker Engine
Communication happens between docker client & Docker Daemon by combination of REST API, Socket.IO and TCP.
source: Internet
Docker Terminology
Docker Daemon: 
      It run on host Machine.
     It creates and manages dockers object such as images, containers, Networks, Data, Volumes etc.
     User does not directly interact with the docker client.
Docker Client:
   Primary user interface to docker.
   It accepts commands from the users and communicates back and forth with dockers daemon.
Docker Images:
    Images are used to create docker containers.
    Dockers provides a simple way to build new images or update existing images,
    Docker images are the 'Build' component of dockers.
Docker Registries:
    Registries store images.
    These are public or private stored from which we upload/downloads images. 
    This can be done on docker hub (which is docker version of GITHUB)
   Docker Registry are 'distribution' component of docker.
Docker Containers:
    Containers are created from docker images.
    It holds everything needed for an application to run.
   Each containers is an isolated and secure application platform.
   Docker containers are the 'run' components of docker.

Docker Architecture:
It has following component: 
build---  pull  ---   distribute   ---  run
source:Internet

Handy Docker commands on the GO:

To pull a docker images from docker hub
       $ docker pull <image-name:tag>
To run an images
       $ docker run<image-name:tag>   OR 
      $ docker run <image-id>
To Build an image
       $ docker build -t <image-name>:tag
To run newly built image
 $ docker run --name "container name" -p <host-port>:<container-port><image-name:tag>
To list down images on our system
       $ docker images
To list down all the running containers
       $ docker ps
To list down all the containers (even if they are not running)
       $ docker ps -a
To start the containers
       $ docker start <container id>
To stop the container
       $ docker stop <container id>
To delete the container [This command should be used after container is stopped]
       $ docker rm <container name>
To delete image
       $ docker rmi <image id>  OR
       $ docker rmi <repo:tag>

The blog has been written after reading and watching online materials on dockers.

Thank you!
Satender Kumar Mall
Twitter : @satenderiiit
Facebook Page: https://www.facebook.com/pages/Satender-Kumar-Mall-Blogs

Saturday, 25 March 2017

Changing Mindset!!

Among several other tough tasks, one of 'changing mindset' either "of self" or "of other" as whole sounds to be the toughest one!!

Don't roll your eyes (~ ~) Dear!!

Give yourself 30 seconds, to take a fresh approach to it.

So, what’s your verdict?  If you really happen to give a thought, please do put that (word/line) in comments :-)



Let’s look at one aspect i.e. YES,

Why Yes?

Changing Mindset takes generation to stabilise and by the time it stabilises itself, generation itself has moved & evolved, which again generate an urge to change mindset.

Since human-beings have not been blessed with equals share of intelligence, wisdom and surely not the GREED. This natural cycle leads to formation of 3 broad groups.

1st Group: - Those whose mindset stabilised bit earlier than the realisation of generation has moved as whole, enjoys the fruit of that era and termed as successful.

However other two groups i.e. ['about to stabilised' as 2nd Group and not gonna stabilised’ as 3rd Group].
One of these two remaining group take leads in changing mindset as soon as generation moved realisation materialised.

Again, as I pointed out earlier that 'changing mindset' is toughest, So following is reasons why it is so...

When 3rd Group leads in second race of change cycle, though which was even nowhere closed in first change cycle shift is forcefully obstructed-demonised-ridiculed-etc. by the 1st Group.

Are you Surprised!! Confused!! That why 1st Group will ever do this?

Simple reason that 1st Group were termed successful and had uninterrupted access to world resources for so long. They freely indulge in enjoying those resources with sweet lip service to less privileged and somewhere the sense of supremacy occupied in their mind, which lead them to believe that they can control change.

Let’s look at few recent happening around world to put in context: -

Election is a mode to elect government in countries following democracy. Why election results sound or sold to us as surprising these days?

This is directly linked to 1st Group orchestrated chaos to control change.

How come election of A or B should termed as surprise if the criteria for selection remains the same since decades.

All this points to the beginning of arrival of change cycle......Change always tames bad weed.

Why 3rd Group right to equal chance to prove their metal to people by people for people should be denied? Or insulted in way it is being done by handful of loser from 1st Group?

Readers do think over it! Change is constant. Everyone should accept it with same honour and respect above all belief whether it suits you or not.

1st Group deserve no sympathy; let them DEAL WITH IT.


By the way:- just to add 2nd Group of people are termed as Middle Class in 21st Century. They are enablers but surely never an obstructor.

 Few picture for lighter moment after a quality read.














Have you put what your thought related to verdict in comments? 

No? Well that's how tough it is to change mindset for self or of other!!!


 *******************************************************

Satender Kumar Mall
Twitter : @satenderiiit
Facebook Page: https://www.facebook.com/pages/Satender-Kumar-Mall-Blogs

Wednesday, 22 February 2017

Maha Shivaratri : Few of the amazing qualities!!



Maha Shivaratri is a Hindu festival celebrated annually in honour of the god Shiva. 

It is a major festival in Hinduism, but one that is solemn and marks a remembrance of "overcoming darkness and ignorance" in life and the world. 


ॐ नमः शिवाय
Om Namah Shivaya॥




Amazing Qualities:-

Lord Shiva is an epitome of compassion. He treats all his devotees equally. 
Whether a Dev or a Danav, Pashu or Manav, Lord Shiva loves one and all.

·       We mustn’t allow the evil to flourish – whether it is jealousy, pride, ego, anger, lust and greed inside us  treachery, hatred etc in the outside world.

·      We need to learn how to be compassionate towards all forms of life on earth.

·      We need to remain focused on our work and not get wavered.

·     Only a mind that is unshakeable can emerge stronger and victorious. Stability brings in a sense of security. Hence attain stability by overcoming confusion.

·       Lord Shiva’s third eye is symbolic. It teaches us to look beyond what we can see to unveil the truth.

·       The layers of ash on his body remind us about the supreme truth – that nothing is eternal or permanent. Materialistic pleasure is temporary and time is the most powerful.

·       Lead life with simplicity.
 *******************************************************
Satender Kumar Mall
Twitter : @satenderiiit
Facebook Page: https://www.facebook.com/pages/Satender-Kumar-Mall-Blogs

Friday, 17 February 2017

Best of Valentine's Day humour


Hope you had a great Valentine Day!! As well as love filled week it brings along....

Lets have a quick glance on some funny aspect of this day and lighten ourselves....



Thought provokers

Cost-Benefits analysers: Already under loans..

Trend-Setters../Disrupt ER

For creatives lot!!
Of course : MARRIED


For those - still living in stone age...

True Lovers

Lets be practical!!

Those who can never be changed...To lazy to give a try..



Satender Kumar Mall
Twitter : @satenderiiit
Facebook Page: https://www.facebook.com/pages/Satender-Kumar-Mall-Blogs



Sunday, 22 January 2017

Survival Strategy : Do we have one?

Charles Darwin:

It is not the strongest of the species that survives, nor the most intelligent that survives. It is the one that is most adaptable to change.

Shortened versions

It is not the strongest species that survive, nor the most intelligent, but the ones most responsive to change.
It is not the strongest or the most intelligent who will survive but those who can best manage change.


I came across an article, which narrated all about how human skill to survival is being slowly eradicated in planned and phased manner. Common example was given about mass movement of human population towards cities. It has created constant fear of maintaining jobs at hand.

Simple Test: -

Just imagine if you do not have job at hand, what will be your survival strategy? How you are going to pay necessary bills or tackle liability? If you are not going to get job for another six month as well as you have already disposed off asset of your origin place post migration to settle luxury at cities.

Now if you can answer that to some satisfactory level to yourself, you still have survival skill else it’s time for you to create one.

There are many survival stories, you may have come across where several people have been unfortunately landed in uncomfortable situation due to travel/weather/transport etc. and have manage to adopt and survive. One common aspect in all stories is that they are usually a story of an individual.

But the context here is about able to survive along with family where each member does not have same strength and skill. Your role here of leader/captain to ensure survivability.

Now think over the above test scenario again and reassess/re-evaluate your response. The picture is getting bit scary, right?


That survival skill which our ancestor used to take pride in, is now being eradicated or getting phased out. 

Majority of cases people are always at edge and constant fighting towards creating balance and …………………..{you can fill yourself , what precious thing you end up losing.
 Hint: time, stress free life, health etc.. }

Whats your skill set/survival strategy to adopt change?


Satender Kumar Mall
Twitter : @satenderiiit
Facebook Page: https://www.facebook.com/pages/Satender-Kumar-Mall-Blogs

Wednesday, 16 November 2016

Funny side of recent Indian 500 & 1000 note BAN!









 Dear Modi,
Thanks for making all those dead WhatsApp groups active again.




Sala 9/11 jab bhi ata hai hila dalta hai bhai😂






 Isliye bola tha Chai wale ko pm mat bano, 5, 10 Rs. ke note ke alawa or kuch samaj nhi aata usko
– Rahul Gandhi 😜😜😜








This is a message for those who were criticising PM for being out of the country……If PM stays in country, see what happens 😉😉😂



आज रात जिस घर की लाइट जलती हुइ दिखे समझलो नोटो की गिनति चल रही हे💰💶🤑.    While I was creating the post. Pasodi ko pakka laga hoga “are these guys so rich”
















After 50 Years




Satender Kumar Mall
Twitter : @satenderiiit


Facebook Page: https://www.facebook.com/pages/Satender-Kumar-Mall-Blogs