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