Installing Docker on Ubuntu 14.04

More detailed information on all OS on the official site .

1. Installation will require the presence of the following libraries :

apt-transport-https-ca-certificates curl software-properties-common

sudo apt-get install apt-transport-https ca-certificates curl software-properties-common

2. Add the GPG key :

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

In response, you should receive " OK "

3. Key verification :

We make sure that everything went well and look for the last 8 digits of the key of the official docker key.

sudo apt-key fingerprint 0EBFCD88

in my case found in /etc/apt/trusted.gpg

pub 4096R/0EBFCD88 2017-02-22
Отпечаток ключа = 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88
uid Docker Release (CE deb) <docker@docker.com>
sub 4096R/F273FCD8 2017-02-22

4. Add docker repository :

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

sudo apt-get update

This repository is for ubuntu 14.04 on x86_64 / amd64 architecture. For the rest, you can look at the offsite above.

5. Direct installation itself :

sudo apt-get install docker-ce

6. Check docker performance :

sudo docker run hello-world

In the end it will look like this

docker run hello-world

7. Adding a user :

If you need to add the user under which you are now, so as not to enter sudo every time, you should run the command:

sudo usermod -aG docker your username

Be sure to log in again for the changes to take effect.

Received version :

docker version

2565 2

Comments

HenryMit, может быть
Неофрейдизм — это… Определение, принципы, представители и особенности
You have to log in to leave a comment. Sign in

Similar articles