美文网首页系统性能优化
银河麒麟v10-server版 安装docker

银河麒麟v10-server版 安装docker

作者: Joncc | 来源:发表于2021-09-27 23:00 被阅读0次

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

    本文链接:https://www.haomeiwen.com/subject/rqtlnltx.html