-
Notifications
You must be signed in to change notification settings - Fork 800
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
Debian 10 Buster missing from install.sh #125
Comments
With the launch of the Raspberry Pi 4 and therefore Buster already available for download/install, I am also not able to install Docker properly on my Pi. |
#126 fixes it, please merge |
It just got merged. Users of the new Raspbian Buster image will still run into an error as there is no Buster branch available yet: https://download.docker.com/linux/raspbian/dists/ Workaround for now, as the Stretch package should still work:
|
Thank you for your quick action i can go back and play with my buster host deployments :) |
I had to use
instead of what was in @MichaIng's comment for raspbian |
@j616 |
Debian Buster has been released on 2019-07-06, the change has not yet been uploaded to https://get.docker.com/ 😊 |
Not sure if still relevant, but the script (as of today), generates the apt sources line with "10" instead of "buster". This causes failure to install, and I had to change it manually, repeat the "apt update" and the "apt install docker-ce". Should be interesting to put a link "10 -> buster" in the apt server https://download.docker.com/linux/debian/dists/ or fix the script. Thanks |
This is what the whole topic + solution is about 😄. The master branch already contains the fix: https://github.com/docker/docker-install/blob/master/install.sh#L297-L299 Not sure if there were other relevant changes that need to be tested first but IMO things should be tested BEFORE merging into the main branch (master), so they can be uploaded immediately. But that's a question of individual schedules. |
Great! Master branch release worked for me; this should count as another test on debian 10, amd64. I did: wget -qO- https://raw.githubusercontent.com/docker/docker-install/master/install.sh | bash Regards |
I tried on a fresh Raspbian on Raspberry Pi 3B. pi@raspberrypi:~ $ uname -a It failed for my setup with the following command and output: pi@raspberrypi:~ $ wget -qO- https://raw.githubusercontent.com/docker/docker-install/master/install.sh | bash
|
@JesperG So for now you need to go with "nightly":
Or you go with stable Stretch (which at least works on Buster according to my tests): #125 (comment) |
getting the following error when I try to install
Don't get this error when using
|
@rradar But Indeed the nightly branch does not have this package, seems to be not yet ready for use.
So it would actually work with the containered.io package from Stretch stable, so:
Puhh not sure if this is related to Stretch Docker vs Buster RPi firmware repo. But actually AFAIK the firmware/kernel packages are identical it it should not matter from which distro branch they are... And it worked for me some weeks ago, but this was before RPi4 compatible Raspbian Buster (+related firmware updates) were released, I used Buster already since 1.5 years ago. Which RPi do you use? You could try to remove non-matching kernel from |
@MichaIng I did this now, purged my installed docker-ce and docker-ce-cli and tried again with Now I get this error here:
I use a raspberry 3 (4.19.57-v7+) EDIT: Now it worked! Problem was that |
@rradar
So purging + autoremoving + installing finally pulls the correct packages from Buster. If you find any issue with the setup you might want to report to the actual Docker Linux repo. E.g. I found an ongoing topic about Docker on Raspbian Buster where you could contribute in case: docker/for-linux#709 |
I don't know why but now my docker setup (hassio) install fails with:
with raspbian stretch this ( |
https://packages.debian.org/buster/pigz: |
This did actually help... Running the install script again and this time it succeeded! Thank's! |
@rradar EDIT: Fallback is actually the case... no idea why this didn't work in your case: https://github.com/docker/docker-ce/blob/master/components/engine/pkg/archive/archive.go#L30-L39But gzip is available on your system, right? |
The script from get.docker.com AND test.docker.com fails on Debian 10 Buster: sudo sh get-docker.sh
sudo sh test-docker.sh
lsb_release -a
lsb_release -cs
|
Today, it worked for debian buster amd64, so the issue is fixed for me without modifications nor hacks. gerard@debian:~$ wget -qO- get.docker.com | bash
# Executing docker install script, commit: 6bf300318ebaab958c4adc341a8c7bb9f3a54a1a
+ sudo -E sh -c 'apt-get update -qq >/dev/null'
+ sudo -E sh -c 'apt-get install -y -qq apt-transport-https ca-certificates curl gnupg >/dev/null'
+ sudo -E sh -c 'curl -fsSL "https://download.docker.com/linux/debian/gpg" | apt-key add -qq - >/dev/null'
Warning: apt-key output should not be parsed (stdout is not a terminal)
+ sudo -E sh -c 'echo "deb [arch=amd64] https://download.docker.com/linux/debian buster 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'
+ sudo -E sh -c 'docker version'
Client:
Version: 18.09.7
API version: 1.39
Go version: go1.10.8
Git commit: 2d0083d
Built: Thu Jun 27 17:56:40 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 18.09.7
API version: 1.39 (minimum version 1.12)
Go version: go1.10.8
Git commit: 2d0083d
Built: Thu Jun 27 17:23:02 2019
OS/Arch: linux/amd64
Experimental: false
If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:
sudo usermod -aG docker gerard
Remember that you will have to log out and back in for this to take effect!
WARNING: Adding a user to the "docker" group will grant the ability to run
containers which can be used to obtain root privileges on the
docker host.
Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface
for more information.
gerard@debian:~$ |
It didn't work with raspberry pi 4 using "get.docker.com": # Executing docker install script, commit: 6bf300318ebaab958c4adc341a8c7bb9f3a54a1a
+ sudo -E sh -c apt-get update -qq >/dev/null
+ sudo -E sh -c apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sudo -E sh -c curl -fsSL "https://download.docker.com/linux/raspbian/gpg" | apt-key add -qq - >/dev/null
Warning: apt-key output should not be parsed (stdout is not a terminal)
+ sudo -E sh -c echo "deb [arch=armhf] https://download.docker.com/linux/raspbian buster 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
pi@raspberrypi:~ $ |
@Ciantic
|
@MichaIng I got it working, thanks. It however gave me |
@Ciantic
For this reason I tend to disable recommends install by default on all systems, e.g.
|
Is this issue related with: "Debian bionic Release' does not have a Release file" when using Docker script to install on Ubuntu18 ? |
closing, as debian 10 "buster" came and went |
There are less than 4 weeks to Debian 10 Buster release. Yes, the date has already been set.
Please update the convenience script to ease the final testing of Debian 10 Buster release.
install-sh.txt
The text was updated successfully, but these errors were encountered: