CentOS 离线安装 docker

参考 https://blog.csdn.net/u0123738…

下载了这些安装包

lxc-libs-1.0.11-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
lxc-1.0.11-1.el6.x86_64.rpm
lua-lxc-1.0.11-1.el6.x86_64.rpm
docker-io-1.7.1-2.el6.x86_64.rpm
device-mapper-libs-1.02.117-12.el6_9.1.x86_64.rpm

通过 rpm -ivh 逐个安装好

最后那个记得 –force –nodeps 即可

通过 service docker start 启动

通过 docker ps 验证

Leave a Reply

Your email address will not be published. Required fields are marked *