-
Notifications
You must be signed in to change notification settings - Fork 781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker installation failing #244
Comments
We have the same issue, this also reflects in docker-machine is not possible to provision new instances:
|
Trying to set up docker on Ubuntu 20.04.2 LTS by following https://docs.docker.com/engine/install/debian/ |
I was also able to reproduce this on a fresh Google Compute Engine Instance of Ubuntu 20.04.2. This issue appears to be affecting a large number of Docker users. See e.g. docker/for-linux#905, or search Google for "7EA0A9C3F273FCD8". |
Still not resolve this? I'm having the same issue. |
@GlenCooper looks like you may have the incorrect repository configured in your apt config; I see it has the
|
I'm trying to reproduce the issue, but so far haven't been able to. This is from a fresh Ubuntu 20.04 install; curl -fsSL https://get.docker.com | sh -
# Executing docker install script, commit: 93d2499759296ac1f9c510605fef85052a2c32be
+ sh -c apt-get update -qq >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl gnupg >/dev/null
debconf: delaying package configuration, since apt-utils is not installed
+ sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | gpg --dearmor --yes -o /usr/share/keyrings/docker-archive-keyring.gpg
+ sh -c echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu focal stable" > /etc/apt/sources.list.d/docker.list
+ sh -c apt-get update -qq >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends docker-ce-cli docker-scan-plugin docker-ce >/dev/null
debconf: delaying package configuration, since apt-utils is not installed
+ version_gte 20.10
+ [ -z ]
+ return 0
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker-ce-rootless-extras >/dev/null
debconf: delaying package configuration, since apt-utils is not installed
================================================================================
To run Docker as a non-privileged user, consider setting up the
Docker daemon in rootless mode for your user:
dockerd-rootless-setuptool.sh install
Visit https://docs.docker.com/go/rootless/ to learn about rootless mode.
To run the Docker daemon as a fully privileged service, but granting non-root
users access, refer to https://docs.docker.com/go/daemon-access/
WARNING: Access to the remote API on a privileged Docker daemon is equivalent
to root access on the host. Refer to the 'Docker daemon attack surface'
documentation for details: https://docs.docker.com/go/attack-surface/
================================================================================ |
Ehm. meant Ubuntu 20.04, not 20.10 |
I solve mine when I use this |
Hi, |
It seems like #256 may fix the issue? Can we get that merged? |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7EA0A9C3F273FCD8 |
Thanks @thaJeztah for spotting that. I'm sure that had something to do with the problem I saw. Good news is that I now have Docker installed and working great on Ubuntu 22.04. Thanks for your help! |
can someone help me i am new at coding and i got this error help me to solve
The text was updated successfully, but these errors were encountered: