1、安装
dnf install docker
将会安装moby-engine,containerd, runc
(1)moby-engine
Moby is an open framework created by Docker to assemble specialized container systems without reinventing the wheel. It provides a “lego set” of dozens of standard components and a framework for assembling them into custom platforms.
容器组建装配
(2)containerd
An industry-standard container runtime with an emphasis on simplicity, robustness and portability.
容器运行框架
(3)runc
runc
is a CLI tool for spawning and running containers on Linux according to the Open Container Initiative (OCI) specification
容器命令行工具https://github.com/opencontainers/runc
2.启动docker
systemctl start docker
systemctl enable docker
3.配置docker image mirror
国内镜像
Docker中国区官方 | https://registry.docker-cn.com |
/etc/docker/daemon.json
{
"registry-mirrors": ["https://registry.docker-cn.com"]
}