Install Docker in Ubuntu

Source: Internet
Author: User

Install Docker in Ubuntu
Introduction

A lightweight container similar to a virtual machine.
Official Website https://www.docker.com
The official website has an online simulation environment:
Https://www.docker.com/tryit/

Install

According to the official website, it supports a lot of operating systems, basically a lot of which I have never seen before.
My testing environment is Ubuntu Kylin 14.04.

Requirement

We recommend that you use 64-bit, with a minimum kernel of 3.10. You can use uname-r to view
Vc + 436Osudm3vb3pydy/ydLUzPi5/dK70Kmy2df3oaM8L3A + Cgo8aDIgaWQ9 "Installation Process"> The sudo permission is required to install wget

Which wget
If not, use
Sudo apt-get update
Sudo apt-get install wget
Install

Get package

Wget-qO-https://get.docker.com/| sh
Q is followed by an uppercase letter O

After the prompt is successful, run:

Sudo docker
Output:

Restart the system and run:

Sudo docker run hello-world

It downloads a test image and runs it. After several operations, I finally downloaded the file:
A problem occurred:

I am dealing with the problem during the rest time, and the time is tight. I will analyze the reasons later.
Directly test the use of official ubuntu Images

Sudo docker pull ubuntu
Run hello world
Sudo docker run ubuntu/bin/echo hello world

Next time, take the time to continue learning.

Related Article

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.