What is Docker?
Docker is a container management tool.
What is Container?
Container is kind of an environment for running an app where we get separate resources for running each app which is powered by kernel and managed by docker.
How Docker works?
Docker runs the containers. It comprises of the docker images(consisting of root filesystem + User filesystem + app filesystem). One copy of this docker image is mounted inside each of these containers. Request comes from client via api to server. Server then connects to kernel via container id to create PID tree, root file system and network for running the containers.
How container works?
Images in a runnable state makes a container. So all the code, related dependencies etc., are wrapped into it and each container runs as separate process.
What are the components of docker?
Docker engine
Docker images
Docker container
Top comments (0)