Understanding docker components and there way to communicate.
A docker engine, or docker daemon performs the operation which it receives via docker CLI and REST API.
The docker daemon is responsible for what is happening when a docker CLI command is executed.
Docker client - is basically docker command via which user inputs are provided via REST API to dockerd to achieve desired objectives.
Registry holds the images, which can be downloaded and uploaded