文件名称:docker离线安装 linux
文件大小:5.32MB
文件格式:RAR
更新时间:2020-12-28 07:20:04
docker
docker1.8 要求内核3.10起,但是redhat7.1内核是”2.6.32-431.el6.x86_64”奔溃,又不能升级内核,还不能联网。。。怎么办呢? 只好去网上下了docker1.7的rpm包手动安装吧,经过多次实验发现,1. 所需包如下: lxc-libs-1.0.9-1.el6.x86_64.rpm lua-alt-getopt-0.7.0-1.el6.noarch.rpm lua-filesystem-1.4.2-1.el6.x86_64.rpm lua-lxc-1.0.9-1.el6.x86_64.rpm lxc-1.0.9-1.el6.x86_64.rpm docker-io-1.7.1-2.el6.x86_64.rpm device-mapper-libs-1.02.117-12.el6.i686.rpm device-mapper-libs-1.02.117-12.el6.x86_64.rpm 1 2 3 4 5 6 7 8 9 好啦不要看了资源在这里下载:docker1.7.0 rpm包 直接安装device-mapper 的包会报依赖错误,解决方法就是不管他,直接忽略依赖安装。 所需执行命令如下: rpm -ivh lxc-libs-1.0.9-1.el6.x86_64.rpm rpm -ivh lua-alt-getopt-0.7.0-1.el6.noarch.rpm rpm -ivh lua-filesystem-1.4.2-1.el6.x86_64.rpm rpm -ivh lua-lxc-1.0.9-1.el6.x86_64.rpm rpm -ivh lxc-1.0.9-1.el6.x86_64.rpm rpm -ivh docker-io-1.7.1-2.el6.x86_64.rpm rpm -ivh device-mapper-libs-1.02.117-12.el6.i686.rpm --force --nodeps rpm -ivh device-mapper-libs-1.02.117-12.el6.x86_64.rpm --force --nodeps 1 2 3 4 5 6 7 8 9 10 rpm 安装完毕 后启动docker service docker start(用来生成cgroup隔离环境,好像不执行也可以。我没有测试,如果有朋友测试了麻烦给个评论。) docker -d & 1 2 然后检查是否安装成功 docker ps
【文件预览】:
lua-alt-getopt-0.7.0-1.el6.noarch.rpm
readme.md
docker-io-1.7.1-2.el6.x86_64.rpm
lxc-1.0.9-1.el6.x86_64.rpm
lxc-libs-1.0.9-1.el6.x86_64.rpm
lua-filesystem-1.4.2-1.el6.x86_64.rpm
device-mapper-libs
----device-mapper-libs-1.02.117-12.el6.x86_64.rpm(257KB)
----device-mapper-libs-1.02.117-12.el6.i686.rpm(256KB)
lua-lxc-1.0.9-1.el6.x86_64.rpm