Ubuntu 16.04 64-bit installation Docker

Source: Internet
Author: User
Tags docker run

Get ready
1. Add GPG key:
$ sudo apt-key adv--keyserver hkp://p80.pool.sks-keyservers.net:80--recv-keys 58118e89f3a912897c070adbf76221572c52609d
2. Add a source
New file:/etc/apt/sources.list.d/docker.list, add content inside:
Deb Https://apt.dockerproject.org/repo ubuntu-xenial Main
3. Update the source
$ sudo apt update

Installation and Testing
Installation
$ sudo apt install docker-engine

Start and test
$ sudo service docker start
$ sudo docker run Hello-world
Hello-world is mirrored, the image is downloaded from the Mirror Library and the results are as follows:

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/98/9D/wKiom1k-pu7idm7iAAEYt935aac199.jpg-wh_500x0-wm_ 3-wmp_4-s_1820216566.jpg "title=" 1.jpg "alt=" Wkiom1k-pu7idm7iaaeyt935aac199.jpg-wh_50 "/>

Ubuntu 16.04 64-bit installation Docker

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.