Install Docker on Ubuntu Trusty 14.04 (LTS) (64-bit)

Source: Internet
Author: User

Install Docker on Ubuntu Trusty 14.04 (LTS) (64-bit)

Ubuntu Trusty 14.04 (LTS) brings about 3.20.linux kernel, which requires preparing certain conditions for all ubuntu libraries. The docker installation package is calledDocker. io!

Note: Ubuntu (and Debian) contains some old KDE3/GNOME2 installation packages that are also called docker. Therefore, the docker installation package here is called docker. io!

Installation:

Install the installation package under ubuntu (may not be the latest)

$ sudo apt-get update$ sudo apt-get install docker.io$ sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker$ sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io$ source /etc/bash_completion.d/docker.io

If you want to try docker on the latest version

First, check whether the APT system can be parsed by https. URLs: File/usr/lib/apt/methods/https should already exist. If not, you need to install the software package apt-transport-https!

[ -e /usr/lib/apt/methods/https ] || {  apt-get update  apt-get install apt-transport-https}

Then, add the Docker repository key to the local keychain.

$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9

Add the docker software repository to the software source, upgrade the software source, and install the lxc-docker package!

$ sudo sh -c "echo deb https://get.docker.com/ubuntu docker main> /etc/apt/sources.list.d/docker.list"$ sudo apt-get update$ sudo apt-get install lxc-docker

Note: A simple script can be used in this process.

$ curl -sSL https://get.docker.com/ubuntu/ | sudo sh

Verify that all work is completed as expected

$ sudo docker run -i -t ubuntu /bin/bash

OK!

Install Docker in CentOS 6/7 Series

Detailed explanation of the entire process of building Gitlab CI for Docker

Docker installation application (CentOS 6.5_x64)

What is the difference between Docker and a normal Virtual Machine?

Use MySQL in Docker

Docker will change everything

Docker installation application (CentOS 6.5_x64)

Docker details: click here
Docker: click here

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.