银河麒麟v10-server版 安装docker

银河麒麟v10-server版 是yum 包 基于centos7
银河麒麟v10桌面版 是apt 包ubuntu18.04

fuse-overlayfs
slirp4netns

 yum install -y https://mirrors.tuna.tsinghua.edu.cn/centos/7/extras/x86_64/Packages/slirp4netns-0.4.3-4.el7_8.x86_64.rpm
 yum install -y https://mirrors.tuna.tsinghua.edu.cn/centos/7/extras/x86_64/Packages/fuse-overlayfs-0.7.2-6.el7_8.x86_64.rpm
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo

修改
vim /etc/yum.repos.d/docker-ce.repo
https://mirrors.aliyun.com/docker-ce/linux/centos/7/$basearch/stable

[docker-ce-stable]
name=Docker CE Stable - $basearch
baseurl=https://mirrors.aliyun.com/docker-ce/linux/centos/7/$basearch/stable
enabled=1
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/docker-ce/linux/centos/gpg

安装docker

 yum install  docker-ce-rootless-extras -y

 yum install docker-ce docker-ce-cli containerd.io -y
yum install docker-compose 
 systemctl enable docker
 systemctl start docker

你可能感兴趣的:(银河麒麟v10-server版 安装docker)