-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Description
File: engine/install/ubuntu.md
I'm not sure what exactly is going on, but I just created a brand new VM on azure and followed the documentation on the page.
Doing this I ran into the following a warning first:
....@Server:/etc/apt/trusted.gpg.d$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
Then I ran this command:
*****@Server:/etc/apt/trusted.gpg.d$ sudo add-apt-repository \
> "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
> $(lsb_release -cs) \
> stable"
Repository: 'deb [arch=amd64] https://download.docker.com/linux/ubuntu groovy stable'
Description:
Archive for codename: groovy components: stable
More info: https://download.docker.com/linux/ubuntu
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Found existing deb entry in /etc/apt/sources.list.d/archive_uri-https_download_docker_com_linux_ubuntu-groovy.list
Adding deb entry to /etc/apt/sources.list.d/archive_uri-https_download_docker_com_linux_ubuntu-groovy.list
Found existing deb-src entry in /etc/apt/sources.list.d/archive_uri-https_download_docker_com_linux_ubuntu-groovy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/archive_uri-https_download_docker_com_linux_ubuntu-groovy.list
Hit:1 https://download.docker.com/linux/ubuntu groovy InRelease
Hit:2 http://azure.archive.ubuntu.com/ubuntu groovy InRelease
Hit:3 http://azure.archive.ubuntu.com/ubuntu groovy-updates InRelease
Hit:4 http://azure.archive.ubuntu.com/ubuntu groovy-backports InRelease
Hit:5 http://security.ubuntu.com/ubuntu groovy-security InRelease
Reading package lists... Done
Then:
****@Server:/etc/apt/trusted.gpg.d$ sudo apt-get update
Hit:1 http://azure.archive.ubuntu.com/ubuntu groovy InRelease
Hit:2 http://azure.archive.ubuntu.com/ubuntu groovy-updates InRelease
Hit:3 http://azure.archive.ubuntu.com/ubuntu groovy-backports InRelease
Hit:4 https://download.docker.com/linux/ubuntu groovy InRelease
Hit:5 http://security.ubuntu.com/ubuntu groovy-security InRelease
Reading package lists... Done
Then:
****@Server:/etc/apt/trusted.gpg.d$ sudo apt-get install docker-ce docker-ce-cli containerd.io
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package docker-ce is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'docker-ce' has no installation candidate
E: Unable to locate package docker-ce-cli
I mean this doesn't really feel like I'm doing anything strange, however it does not work as you can see above. The package docker-ce does not exist.