#gStore-weekly | Centos7系统下gStore在 docker上的安装部署
Posted 图谱学苑
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了#gStore-weekly | Centos7系统下gStore在 docker上的安装部署相关的知识,希望对你有一定的参考价值。
docker-ce-19.03.9-3.el7.x86_64.rpm
https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-ce-19.03.9-3.el7.x86_64.rpm
containerd.io-1.2.6-3.3.el7.x86_64.rpm
https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm
docker-ce-cli-19.03.9-3.el7.x86_64.rpm
二、所需依赖包下载
audit-libs-python-2.8.5-4.el7.x86_64.rpm
http://mirrors.163.com/centos/7/os/x86_64/Packages/audit-libs-python-2.8.5-4.el7.x86_64.rpm
checkpolicy-2.5-8.el7.x86_64.rpm
http://mirrors.163.com/centos/7/os/x86_64/Packages/checkpolicy-2.5-8.el7.x86_64.rpm
libcgroup-0.41-21.el7.x86_64.rpm
http://mirrors.163.com/centos/7/os/x86_64/Packages/libcgroup-0.41-21.el7.x86_64.rpm
libseccomp-2.3.1-4.el7.x86_64.rpm
http://mirrors.163.com/centos/7/os/x86_64/Packages/libseccomp-2.3.1-4.el7.x86_64.rpm
libsemanage-python-2.5-14.el7.x86_64.rpm
http://mirrors.163.com/centos/7/os/x86_64/Packages/libsemanage-python-2.5-14.el7.x86_64.rpm
policycoreutils-python-2.5-34.el7.x86_64.rpm
http://mirrors.163.com/centos/7/os/x86_64/Packages/policycoreutils-python-2.5-34.el7.x86_64.rpm
python-IPy-0.75-6.el7.noarch.rpm
http://mirrors.163.com/centos/7/os/x86_64/Packages/python-IPy-0.75-6.el7.noarch.rpm
setools-libs-3.3.8-4.el7.x86_64.rpm
http://mirrors.163.com/centos/7/os/x86_64/Packages/setools-libs-3.3.8-4.el7.x86_64.rpm
container-selinux-2.107-3.el7.noarch.rpm
三、安装
3.1 检查安装环境
/home/docker-rpm/rpm1
3.2 开始安装
3.2.1 批量安装依赖包
/home/docker-rpm/rpm1
目录执行:
rpm -Uvh *.rpm --nodeps --force
3.2.2 安装 container
/home/docker-rpm/rpm2
目录执行:
rpm -Uvh container-selinux-2.107-3.el7.noarch.rpm
3.2.3 安装docker
进入 /home/docker-rpm/rpm3
目录执行
rpm -Uvh containerd.io-1.2.6-3.3.el7.x86_64.rpm
rpm -Uvh docker-ce-cli-19.03.9-3.el7.x86_64.rpm
rpm -Uvh docker-ce-19.03.9-3.el7.x86_64.rpm
5.2 启动容器
5.3 检查是否启动成功
5.4 进入docker
5.5 后台启动gStroe中的ghttp
-
后台启动ghttp:
-
停止ghttp(供参考)
5.6 退出docker
5.7 检查防火墙是否开启
5.9 测试gStore是否安装好
以上是关于#gStore-weekly | Centos7系统下gStore在 docker上的安装部署的主要内容,如果未能解决你的问题,请参考以下文章