Redhat 6.5 Offline installation Docker (RPM package installation)

Source: Internet
Author: User
Tags lua docker ps

Previously offline installation Docker was Redhat 7.1 can be installed Docker 1.8 but suddenly received a command, the development environment for redhat6.5 immediately collapse,,,, because, docker1.8 in redhat6.5 run.

docker1.8 Requirements Kernel 3.10, but redhat7.1 kernel is "2.6.32-431.el6.x86_64" burst, and can not upgrade the kernel, can not be networked ... How to do it.
Had to go online under the docker1.7 RPM package manually installed it, after several experiments found that 1. The required package is as follows:

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
 

All right, don't look. Resources Download here: docker1.7.0 RPM Package

Direct installation of Device-mapper package will report dependency error, the solution is regardless of him, directly ignore the dependency installation. The required execution commands are as follows:

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
Start Docker after RPM is installed
Service Docker start (used to generate cgroup isolated environments, as if not executed.) I have no tests, if a friend tests the trouble to give a comment. )
docker-d &
Then check to see if the installation was successful
Docker PS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.