5.1 Docker Platform
- Docker提供了一个开发,打包,运行APP的平台
- 把APP和底层infrastructure隔离开来
5.2 Docker Engine
- 后台进程(dockerd)
- REST API Server
- CLI接口(docker)
[[email protected] ~]# docker version
Client:
Version: 18.03.1-ce
API version: 1.37
Go version: go1.9.5
Git commit: 9ee9f40
Built: Thu Apr 26 07:20:16 2018
OS/Arch: linux/amd64
Experimental: false
Orchestrator: swarm
Server:
Engine:
Version: 18.03.1-ce
API version: 1.37 (minimum version 1.12)
Go version: go1.9.5
Git commit: 9ee9f40
Built: Thu Apr 26 07:23:58 2018
OS/Arch: linux/amd64
Experimental: false
[[email protected] ~]#
[[email protected] ~]# ps -ef|grep docker|grep -v grep
root 17126 1 0 5月30 ? 00:01:52 /usr/bin/dockerd
root 17130 17126 0 5月30 ? 00:02:14 docker-containerd --config /var/run/docker/containerd/containerd.toml
[[email protected] ~]#
5.3 Docker Architecture
5.4 Docker底层技术支持
- Namespaces:做隔离pid,net,ipc,mnt,uts
- Control groups:做资源限制
- Union file systems:Container和image的分层
原文地址:https://www.cnblogs.com/jie-fang/p/10279665.html
时间: 2024-10-27 01:57:05