Table of contents
No headings in the article.
Docker was first Release in March 2013 . It is developed by Solomon Hykes and Sebastian portal .
Docker is open source centralised platform design to create deploy and run application. Docker uses containers on the host operating system to run application. Docker install on any operating system . Docker written in "go" language.
Why are use Docker ?
Before Docker, many problems faces user that a particular code is running on the developer's system but not in the user's system.
What is container ?
Docker containers include the application and all of its dependecies. Docker containers are not tied to any specific infrastructure . They run any computer ,on any infrastructure and any cloud . IT is basically runtime instance on docker image . Hold the entire package that need to run the application . IT other words, we can say that the image is a template and the container is a copy of that template .
Image becomes containers when they run on docker engine.
DOCKER DAEMON
Run on host os . Docker daemon responsible for runing container . It help manage docker service and communication other daemon .
DOCKER IMAGE
A Docker image is a file used to execute code in a docker container . Docker image act as a set of instructions to build a Docker container , like a template . it is read only binary template .
DOCKER VOLUME
VOLUME IS SIMPLY A DIRECTORY INSIDE OUR CONTAINER .
Firstly we have to declare the directory as a volume and the share volume .Volume will be created in one container .
DOCKER COMPOSE
Docker compose is a yaml file which contains details about the service , network and volume for setting up the docker application, so you can create separate containers,host them and get them to communicate with each other.