2020-11-20 centos7.4离线安装docker18.09

rpm安装包链接:链接:https://pan.baidu.com/s/10DpgJL5MQQW9kV2PK0qHVQ
提取码:9x8t
复制这段内容后打开百度网盘手机App,操作更方便哦

rpm -ivh containerd.io-1.2.5-3.1.el7.x86_64.rpm
rpm -ivh docker-ce-cli-18.09.5-3.el7.x86_64.rpm
rpm -ivh container-selinux-2.68-1.el7.noarch.rpm --nodeps --force
rpm -ivh docker-ce-18.09.5-3.el7.x86_64.rpm

安装完成后,启动docker
systemctl start docker

查看状态
systemctl status docker

开机启动docker
systemctl enable docker

查看docker版本
docker version

查看docker详细信息
docker info

你可能感兴趣的:(2020-11-20 centos7.4离线安装docker18.09)