系统性能优化

银河麒麟v10-server版 安装docker

2022-03-08  本文已影响0人  李哈哈_2c85

银河麒麟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

——————
转自:
https://www.jianshu.com/p/690b1c2a4a2f

上一篇下一篇

猜你喜欢

热点阅读