N
N
Nikolay Baranenko2019-05-26 12:49:36
ubuntu
Nikolay Baranenko, 2019-05-26 12:49:36

Docker-ce vs Docker.io for Ubuntu 19.04?

Hello.
I have Ubuntu 19.04

Linux work01 5.0.0-15-generic #16-Ubuntu SMP Mon May 6 17:41:33 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Description:	Ubuntu 19.04
Release:	19.04
Codename:	disco

trying to add docker repository
sudo apt-get -y remove docker docker-engine docker.io
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates wget software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable edge"

according to the previous moment, everything seems to be good, it worked as it should
BUT we go further , I
try to find docker-ce - empty
apt-cache policy docker-ce
docker-ce:
  Установлен: (отсутствует)
  Кандидат:   (отсутствует)
  Таблица версий:

trying docker.io - package found
apt-cache policy docker.io
docker.io:
  Установлен: (отсутствует)
  Кандидат:   18.09.5-0ubuntu1
  Таблица версий:
     18.09.5-0ubuntu1 500
        500 http://ru.archive.ubuntu.com/ubuntu disco/universe amd64 Packages
        100 /var/lib/dpkg/status

I put it
sudo apt install docker.io
docker version
Client:
 Version:           18.09.5
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        e8ff056
 Built:             Fri Apr 12 00:34:27 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.09.5
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.4
  Git commit:       e8ff056
  Built:            Fri Apr 12 00:27:37 2019
  OS/Arch:          linux/amd64
  Experimental:     false

Rejoicing and using docker.io under Ubuntu 19.04? \
Are there other options? \
if not, what is the minus of this option?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Popov, 2019-05-26
@be_a_dancer

To answer this question, just read the installation documentation .
TL;DR;
$ sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
$ sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question