docker离线/内网/无外网安装
#先更新yum库 sudo yum update #安装相关依赖包 sudo yum install -y libcgroup sudo yum install -y policycoreutils-python sudo yum install -y libtool-ltdl #安装docker-engine-selinux sudo rpm -ivh docker-engine-selinux-1.11.1-1.el7.centos.noarch.rpm #安装docker-engine sudo rpm -ivh docker-engine-1.11.1-1.el7.centos.x86_64.rpm #启动docker服务 sudo systemctl start docker #加入开机启动项 sudo systemctl enable docker 来源: oschina 链接: https://my.oschina.net/u/52390/blog/669922