Linux Operations and Architecture-docker Quick Start

Source: Internet
Author: User

First, Docker introduction

Docker is a container container engine built on LXC technology based on the DOCKER.LNC company's open source, which is hosted on GitHub, open source based on the go language and compliant with the APACHE2.0 protocol.
Docker provides container resource isolation and security through kernel virtualization (namespaces, cgroups, etc.). Because Docker is isolated through virtualization at the operating system layer, Docker containers run without the additional operating system overhead of similar virtual machines (VMS) and increase resource utilization.

Second, what is Docker?

Docker is a package of Linux containers that provides an easy-to-use interface for containers. It is currently the most popular Linux container solution.
Docker will rely on the application and the program, packaged in a file. When you run this file, a virtual container is generated. The program runs in this virtual container as if it were running on a real physical machine. With Docker, you don't have to worry about environmental issues.
In general, the interface of Docker is quite simple, and users can easily create and use containers and put their own applications into containers. Containers can also be versioned, copied, shared, and modified, just like managing normal code.

Third, the use of Docker

1, provide a one-time environment. For example, local testing of others ' software, continuous integration provides unit testing and built environments.
2, provide flexible cloud services. Because Docker containers can be switched on and off, they are ideal for dynamic expansion and shrinking.
3, the establishment of micro-service architecture. With multiple containers, a single machine can run multiple services, so the micro-service architecture can be simulated natively

Iv. What does Docker change?

Product-oriented: Product delivery
Development-oriented: simplifying environment configuration
Test-oriented: Multi-version testing
For operations: Consistent environment
Architecture-oriented: Automated scaling (microservices)

Five, Docker installation

1. Add Yum Source

Wget-o/etc/yum.repos.d/docker-ce.repo https://mirrors.ustc.edu.cn/docker-ce/linux/centos/docker-ce.reposed-i ' s# Download.docker.com#mirrors.ustc.edu.cn/docker-ce#g '/etc/yum.repos.d/docker-ce.repo

2. Installing Docker

Yum Install Docker-ce-y

  

Linux Operations and Architecture-docker Quick Start

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.