一、Docker安装
1、安装环境:
系 统:CentOS Linux release 7.6.1810 (Core)
Docker版本:19.03.5
2、下载离线安装包
docker安装包下载:https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-ce-19.03.5-3.el7.x86_64.rpm
依赖包下载:
containerd.io:https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.2-3.el7.x86_64.rpm
docker-ce-cli:https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-ce-cli-19.03.5-3.el7.x86_64.rpm
container-selinux:https://pkgs.org/download/container-selinux
3、安装
rpm -ivh docker-ce-cli-19.03.5-3.el7.x86_64.rpm
rpm -ivh container-selinux-2.107-3.el7.noarch.rpm
rpm -ivh containerd.io-1.2.2-3.el7.x86_64.rpm
rpm -ivh docker-ce-19.03.5-3.el7.x86_64.rpm
4、启动
# 启动
systemctl start docker
# 查看状态文章来源:https://www.toymoban.com/news/detail-699592.html
systemctl status docker文章来源地址https://www.toymoban.com/news/detail-699592.html
到了这里,关于Centos7.6离线安装docker的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!