Installing Docker on Linux

Source: Internet
Author: User
Tags curl

The best way to install Docker on Linux so far is through the installation scripts provided by Docker. While most Linux distributions have their own packages, those packages are somewhat outdated, given the speed at which Docker is growing.


To install Docker requirements:

    • Kernel version 3.10 or above, can be checked by uname-r, if you are using Rhel or CentOS, you need 7 version or newer.

    • Also remember that you need to run a 64-bit architecture that can be checked by uname-m. The result should be x86_64.


The simplest way to install:

Curl Https://get.docker.com | Bash

If you want to check what you've done, what changes will be made to the system, you can do the following

Curl https://get.docker.com >/tmp/install.sh

cat/tmp/install.sh

...

chmod +x/tmp/install.sh

/tmp/install.sh

Binary

Direct download Change permissions to executable files.

Download the latest version of Docker

Https://get.docker.com/builds/Linux/i386/docker-latest

Https://get.docker.com/builds/Linux/x86_64/docker-latest

Download the specified version of Docker

Https://get.docker.com/builds/linux/i386/docker-<version>

Https://get.docker.com/builds/linux/x86_64/docker-<version>


This article is from the "Work hard" blog, please be sure to keep this source http://amyhehe.blog.51cto.com/9406021/1744673

Installing Docker on Linux

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.