What is Docker: Basic Concepts

【What is Docker: Basic Concepts】What is Docker



Docker is a lightweight application container, through which applications and running environments can be packaged into a portable container, enabling rapid deployment and greatly improving the efficiency of development, testing, and operation and maintenance. Compared to virtual machines, The operating system ( GuestOS ) is removed from the Docker container , which reduces waste of resources and enables more applications to run on a single machine.

【What is Docker: Basic Concepts】Advantages of Docker


•Save time, faster deployment and startup, Docker container startup is in seconds, virtual machine startup is in minutes
•save resources, the hard disk space required by Docker containers is generally MB, and the hard disk space required by virtual machines is generally GB
•High performance, Docker container operation does not require hypervisor support, it is kernel-level virtualization, with higher performance
•Continuous integration, to achieve automatic construction, automatic testing and automatic deployment, improve development efficiency
•Microservice architecture, through container orchestration, to achieve loose coupling


【What is Docker: Basic Concepts】Docker's architecture


Docker uses a C/S architecture. Docker client interacts with Docker daemon, The Docker daemon is responsible for building, running and publishing containers. The Docker client and Docker daemon can run on the same system, or you can connect the Docker client to a remote Docker daemon. Docker client and Docker daemon interact via socket or REST API.
Docker daemon
The Docker daemon runs on the host, and the user interacts with the Docker daemon through the Docker client.
Docker client
The Docker client is the main user interface for Docker through which users access the Docker daemon.
Docker images
Docker image is a read-only template. For example, an image can contain an Ubuntu operating system with Apache and your web application installed . image is used to create the container. Users can create images or update existing ones, as well as download and use images created by others.
Docker containers
A Docker container is a running instance of a Docker image. Containers can be started, started, stopped, moved or deleted. Each container is an isolated and secure application platform. Docker utilizes containers to run applications.
Docker registries
Docker registry is a repository for storing images. Users can use public repositories and private repositories for download and upload. The largest public repository is Docker Hub, which contains a large number of images for users to download.

Frequently used websites
•Official website: https://www.docker.com
•Source code: https://github.com/docker/docker
•Public repository: https://hub.docker.com

Copyright statement: The content of this article is contributed by Alibaba Cloud's real-name registered users. The copyright belongs to the original author. The Alibaba Cloud developer community does not own the copyright and does not assume the corresponding legal responsibility. For specific rules, please refer to the " Alibaba Cloud Developer Community User Service Agreement " and " Alibaba Cloud Developer Community Intellectual Property Protection Guidelines ". If you find any content suspected of plagiarism in this community, fill out the infringement complaint form to report it. Once verified, this community will delete the allegedly infringing content immediately.

Related Articles

Explore More Special Offers

  1. Short Message Service(SMS) & Mail Service

    50,000 email package starts as low as USD 1.99, 120 short messages start at only USD 1.00