这几天需要在无法连接外网的服务器上面安装Docker,百度搜索了前三页的基本上都尝试过,都没有安装成功。后面找到了一个可以一键安装的方法,用博客记录一下
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.x86_64.rpm --force --nodeps service docker start
Docker离线安装包及依赖包
链接: https://pan.baidu.com/s/1xhUEq86xaQEMR4WYDWuTbA 密码: 6j78
Comments | NOTHING