Failed to install Docker on Ubuntu 17

I install Docker following this official tutorial. This does not work for me. Is it because I'm using Ubuntu 17?

sudo apt-get install docker-ce

error

"E: The docker-ce package has no installation candidate"

I did all the apt-get updates.

It looks like it cannot find the docker-ce package. What should I do?

+4
source share
2 answers

I found the answer here:

https://askubuntu.com/questions/909691/how-to-install-docker-on-ubuntu-17-04

The following procedure fixed my problem and I can install and run Docker on Ubuntu 17 without problems:

Docker ubuntu, , ubuntu 16 . /etc/apt/sources.list :

deb [arch = amd64] https://download.docker.com/linux/ubuntu zesty stable zesty xenial. sudo apt-get update, sudo apt-get install docker-ce

+4

Source: https://habr.com/ru/post/1678527/


All Articles