Posts

Showing posts from August, 2019

Top 9 basic commands of Docker

Image
Hello users, In this article we are going to see top basic commands of Docker. If you not yet read my previous article i recommend you to read that ( click here to read) .  * In this article we are going to use ubuntu system.  * open terminal ( I assume that you already install docker if not please visit my previous article ) 1. docker pull ImageName :  using this command we can pull any image file from docker hub , eg. " docker pull ubuntu ": this will pull the docker image file and saved it to your local repo. 2. docker images : this command will show all downloaded images .    # Note : we can create any number of container using a single image file . 3.  docker run -it ImageName : This command will run your image file and create a running container, here -it is combination of two flags -i and -t , -i is stand for interactive and -t is for terminal. eg. " docker run -it ubuntu " now you can do anything with this conta...

Intro to docker

Image
Hello all, In this article we are going to see "what is a Docker ?". In this we just see the  basic of docker "definition and installation" and in next article of this series we will see the technical part of the docker " Top commands to get familiar with docker ". Let's began, #Definition  ------------------------------------------------------------------------------------------------                   1. Why need of docker occur                * In every SDLC when the project moves from production to developer it will cause many dependencies issues example: A project is working well in a developer's system but when the project is deployed to the server then many things will not work well * solution for above problem: Most of the people uses Virtual machine to solve this dependencies issues and a VM can easily solve this dependencies issues. A deve...