docker / machine

Machine management for a container-centric world
https://docs.docker.com/machine/
Apache License 2.0
6.63k stars 1.96k forks source link

Error when provisioning for Ubuntu 20.10 "Groovy" #4856

Open pavel-github opened 3 years ago

pavel-github commented 3 years ago

Hi, I try to use docker-machine for Ubuntu 20.10 distribution, but get this error Package 'docker-ce' has no installation candidate. Debug output is here:

About to run SSH command:
if ! type docker; then curl -sSL https://get.docker.com | sh -; fi
SSH cmd err, output: exit status 100: bash: line 0: type: docker: not found
# Executing docker install script, commit: 26ff363bcf3b3f5a00498ac43694bf1c7d9ce16c
+ sudo -E sh -c apt-get update -qq >/dev/null
+ sudo -E sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sudo -E sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | apt-key add -qq - >/dev/null
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
+ sudo -E sh -c echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu groovy stable" > /etc/apt/sources.list.d/docker.list
+ sudo -E sh -c apt-get update -qq >/dev/null
+ [ -n  ]
+ sudo -E sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
E: Package 'docker-ce' has no installation candidate

Error creating machine: Error running provisioning: error installing docker:
notifying bugsnag: [Error creating machine: Error running provisioning: error installing docker: ]

It looks like Docker provides a repo for Ubuntu Groovy: https://download.docker.com/linux/ubuntu/dists/groovy/. Do I miss something or is it an issue? Thanks

pavel-github commented 3 years ago

After comparing https://download.docker.com/linux/ubuntu/dists/focal/ and https://download.docker.com/linux/ubuntu/dists/groovy/ I see that there is no InRelease file in stable channel (only in test). I guess this is the answer. Any plans to make docker available in stable channel?