Ubuntu 16.04 Running Docker

Source: Internet
Author: User
Tags curl

Ubuntu software Source configuration file is/etc/apt/sources.list

Change the domestic, otherwise will be crazy. Here is the drop of Tsinghua University:

# Default Annotated source image to improve apt update speed, if necessary, can self-uncomment deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial main restricted universe multiverse# DEB-SRC https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial main restricted universe multiverseDeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-updates main restricted universe multiverse# DEB-SRC https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-updates main restricted universe multiverseDeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-backports main restricted universe multiverse# DEB-SRC https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-backports main restricted universe multiverseDeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-security main restricted universe multiverse# DEB-SRC https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-security main restricted universe multiverse

Then reboot the server.

$ sudo apt-Getupdate$ sudo apt-GetInstall apt-transport-HTTPS CA-Certificates Curl Software-properties-common$ Curl-fssl https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add-$ sudo apt-key fingerprint 0ebfcd88$ sudo add-apt-Repository"Deb [arch=amd64] https://download.docker.com/linux/ubuntu \$ (Lsb_release-CS) Stable"$ sudo apt-Getupdate$ sudo apt-GetInstall Docker-ce

Then configure a Docker accelerator

Curl-ssl https://http://xxxxxxxxx.m.daocloud.io

Then follow the prompts to restart the Docker service and enter Docker info to see what's going on with Docker ~

Ubuntu 16.04 Running 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.