Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package.
Docker is a bit like a virtual machine. But unlike a virtual machine, rather than creating a whole virtual operating system, Docker allows applications to use the same Linux kernel as the system that they’re running on and only requires applications be shipped with things not already running on the host computer.
Deployment is easy as it will be a single image file, which includes, and behavior will be same irrespective of Host Operating system or environment.
This gives a significant performance boost and reduces the size of the application.
Note: The same image will be used across Development, Testing, Production Dockers, and same behavior are experienced across, due to Docker Container.
Platforms on which Docker is supported?
Docker’s Components (Docker CLI, Docker Daemon, Docker Container, Docker Engine)
Docker Daemon/Engine – The background service running on the host that manages building, running and distributing Docker containers. The daemon is the process that runs in the operating system to which clients talk to. dockerd is the persistent process that manages containers.
Docker uses different binaries for the daemon and client. To run the daemon you type dockerd.
Docker Client – The command line tool that allows the user to interact with the daemon.
Containers – Created from Docker images and run the actual application. We create a container using docker run
, which we were using the busybox image that we downloaded. A list of running containers can be seen using the docker ps
command.
What is Docker hub?
Docker Hub is a registry service on the cloud that allows you to download Docker images that are built by other communities. You can also upload your own Docker built images to Docker hub.
Reference Website: http://hub.docker.com
Have a great Day 🙂