What is the basic architecture behind Docker?

Docker is built on client server model. A Docker server is used to run the images. We use the Docker client to communicate with the Docker server. Clients tell the Docker server via commands what to do. Additionally, there is a Registry that stores Docker Images. Docker Server can directly contact Registry to download images.