Правильный докер

1. Ставим докер на чистый линукс
Описание тут:

https://docs.docker.com/install/linux/docker-ce/ubuntu/#prerequisites

Удаляем (если вдруг):
$ sudo apt-get remove docker docker-engine docker.io

Апдейтим:
$ sudo apt-get update

Скачиваем, что нужно:
$ sudo apt-get install \
    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-get update

Ставим сам докер:
$ sudo apt-get install docker-ce

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *

Можно использовать следующие HTML-теги и атрибуты: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>