Docker learning (1) first met

Docker usage scenarios

  1 Use Docker container development, testing, deployment services

  2 create an isolated operating environment

  3 set up a test environment

  4 Construction of multi-user platform and service (PaaS) Infrastructure

  5 provides software as a service (SaaS) applications

  6 high-performance, ultra-large-scale deployment of host

Docker's basic components

  1 Docker client / daemon C / S structure

  2 Docker Image Mirror

  3 Docker Container vessel

  4 Docker Registry warehouse

Docker container related technologies

  1 Docker dependence of the Linux kernel features

    1 Namespaces namespace

      Isolation system resources: processes, networking, file system ...

      docker - namespace

         PID process isolation

         NET network management interfaces

         Access to cross-process communication IPC management

         MNT mount points

         UTS isolation and kernel version identification

    2 Control groups (cgroups) Control Group

      In order to achieve containers born

        Used to allocate resources

        Source google

        Linux kernel 2.6.24@2007

      Resource constraints

      Priority

      Resource metering

      Resource Control

  The ability of the container 2 Docker

    1 file system isolation: Each container has its own root file system

    2 Process isolation: Each container run in its own process environment

    3 network isolation: Virtual network interfaces and IP addresses are divided between the container

    Isolation and grouping resources 4: Use cgrops independent allocate CPU and memory resources for each such container docker

 

Guess you like

Origin www.cnblogs.com/xiao-xue-di/p/11244644.html