-
Notifications
You must be signed in to change notification settings - Fork 86
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-CE need updating for raspbian buster #709
Comments
This is definitely a problem, because as noted in #545, the |
Edit: Removing prior comment. I was an idiot. I mistakenly specified [arch=amd64] in /etc/apt/sources.list. I changed arch to armhf and docker-ce showed right up and installed properly. |
Any updates on this? |
Confirm, cant install on raspbian buster |
Any way to manually install? |
The docker packages are included in Raspbian buster by default. Update: |
I believe that the docker.io packages in the repo are not recommended by docker, according to the docker install instructions.
… On 29 Jun 2019, at 18:50, Mark Lagendijk ***@***.***> wrote:
The docker packages are included in Raspbian buster by default.
You can install with sudo apt-get install docker.io docker-compose.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I manually edited the install script from |
@garyng how did it work out for you? All good with the containers? |
@hminaya seems pretty stable ... for now |
@garyng could you maybe share the the script? I'm not entirely sure what to edit in the script |
Found a way to do it.
After that I'm able to use Docker |
I confirm it works for now. Oneliner to install it on raspbian buster: curl -sL get.docker.com | sed 's/9)/10)/' | sh |
still just a workaround, not a fix tho |
@MBlokhuijzen, it works on pi3. On pi0, it fails with illegal instruction. |
I think there is no |
|
For more detailed explanation of workaround proposed by @andresbono
case "$dist_version" in
10)
dist_version="stretch"
;;
# [...] |
does not work here on RPi 3 B+. Pristine install from recent NOOBS, installs buster: pi@raspberrypi:~/src/docker $ curl -sL get.docker.com | sed 's/9)/10)/' | sh
# Executing docker install script, commit: 2f4ae48
+ sudo -E sh -c apt-get update -qq >/dev/null
E: The repository 'https://download.docker.com/linux/raspbian 10 Release' does not have a Release file. post edit: |
The oneline does not work on Raspberry PI 3b either. Get the same error as @lowdef :-( |
@lowdef & @theDiverDK - The error you are getting is because the script is resuming from a partial state. If you drop the repository config, the curl|sed|sh workaround you're trying should work: sudo rm /etc/apt/sources.list.d/docker.list;
curl -sL get.docker.com | sed 's/9)/10)/' | sh (Or just adjust the file to point to stretch instead of 10, as mentioned @ #709 (comment)) |
thanks @caio It sure does work now, thanks :) |
I got it installed without problems by downloading the most recent .deb files for System: |
Following the manual instructions and using the latest edge instead of stable works for me on buster https://docs.docker.com/install/linux/docker-ce/binaries/#install-daemon-and-client-binaries-on-linux |
It worked with @caio 's way. |
please report which device you use. |
RPi 3 Model B (not plus). |
@caio 's way worked for me as well on a Raspberry Pi 3b (not plus) Now i am just waiting for my Pi4 4gb :) |
It sounds like you are timing out with a “first time” push… you can set the multiple uploads to be 1 so others aren’t waiting and timing out.
… On 20 Aug 2019, at 15:28, clauderobi ***@***.***> wrote:
Now that the recipe to get docker engine up and running on raspberry buster, including on RPI Zero, is known. I have a new problem. Has anyone experienced error while doing a docker image push? Unless the push is for a small delta it fails repeatedly. But it succeeds for few blobs so eventually the push is small enough to succeed. I open this issue: moby/moby#39751 (comment) <moby/moby#39751 (comment)> but no reaction there (I guess their is not much raspbian-eer at moby/moby). Am I the only one with this problem? I use a RPI W, uising the embedded WLAN to connect to my local repo.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#709?email_source=notifications&email_token=AAIBFIP3ZDMNRCSQU6PW72TQFP5QXA5CNFSM4H3WPQ2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4WPO7I#issuecomment-523040637>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAIBFIIWNJRSTJEKWEYNCB3QFP5QXANCNFSM4H3WPQ2A>.
|
Ok, will try it. (But is it difficult to work against docker layer reuse / caching to force a lot of layers to be updated....). So far so good but will keep an eye. Having said that, though, the logic handling the waiting and timeout seems broken; it is not like there is no layers being actively pushed when the error occurs. In other word, there is net activity on some layers when the issue manifest itself. Also, this means that any automated push (build) or swarm (pulls are also affected) can not use parallel push/pull; unless you are certain that the network is never going to be congested (which can not be guaranteed for remote locations). |
I also expect it to work in Raspbian GNU/Linux 10 (buster) |
worked on raspbian buster on pi 3B (not +) without any issues for me |
@cluttered-code |
As of 2019/09/29, on my RaspberryPi Zero W on Buster, @MichaIng's solution on the comment above worked the best. I could install Docker, just with the below 4 lines in a brand new installed Buster. Thanks! $ cd /tmp
$ wget https://packagecloud.io/Hypriot/rpi/packages/raspbian/buster/containerd.io_1.2.6-1_armhf.deb/download.deb
$ sudo dpkg -i download.deb && sudo rm download.deb
$ sudo curl -sL get.docker.com | bash Results of Hello-World$ sudo docker run --rm hypriot/armhf-hello-world
Unable to find image 'hypriot/armhf-hello-world:latest' locally
latest: Pulling from hypriot/armhf-hello-world
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the docker.io registry NOW to avoid future disruption.
4b84770bb49c: Pull complete
a3ed95caeb02: Pull complete
Digest: sha256:b618ec0cc3acf683e8d77ad6c5ec81546cddde2036eda9a78f628effdeca74cd
Status: Downloaded newer image for hypriot/armhf-hello-world:latest
Hello from Docker.
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker Hub account:
https://hub.docker.com
For more examples and ideas, visit:
https://docs.docker.com/userguide/ $ sudo docker version
Client: Docker Engine - Community
Version: 19.03.2
API version: 1.40
Go version: go1.12.8
Git commit: 6a30dfc
Built: Thu Aug 29 06:18:36 2019
OS/Arch: linux/arm
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.2
API version: 1.40 (minimum version 1.12)
Go version: go1.12.8
Git commit: 6a30dfc
Built: Thu Aug 29 06:12:41 2019
OS/Arch: linux/arm
Experimental: false
containerd:
Version: 1.2.6
GitCommit: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
runc:
Version: 1.0.0-rc7+dev
GitCommit: 029124da7af7360afa781a0234d1b083550f797c
docker-init:
Version: 0.18.0
GitCommit: fec3683
Update 2019/10/27: Now you don't need the above for Raspbian Buster on Raspberry Pi Zero W (ARMv6l architectures) to install Docker!! 🎉 Just do:
|
With the new release of raspbian buster it seems like this is no longer an issue. Working just fine on my rpi 4B using the provided helper script. |
@KEINOS no need to download the hypriot packagecloud version any longer. The new containerd package 1.2.10 from download.docker.com repo just works on Raspberry Pi Zero. I've tested |
@StefanScherer Thank you for the info! I agree the official repo the better. But I searched the repo under https://download.docker.com/linux/raspbian/dists/buster/ and I couldn't find v1.2.10 but v1.2.6-3 under pool/ ... Where can I find containerd v1.2.10? |
That's true, debug symbols package is v1.2.10 but container.io itself is still v1.2.6 on all branches. Not sure if this was reverted due to some issues or something? Release file has been updated on October 11., hence after @StefanScherer post. |
That is odd, I have a new Pi, new SD card, new downloaded Raspbian Lite, new installation, everything fresh and it still does not work, the command on three different Pi's tested 3 times per Pi always and only fails as it did before. edit |
If it matters, I didn't need to do any extra workarounds on Raspbian "Buster" on a RPi 2. Packages installed:
|
Thanks for confirming; with the updated containerd packages live, I think this issue is resolved; I'll close this one |
I also confirm that it just worked as expected with NO extra workarounds 🎉 on:
Thanks! ❤️ |
actually install success |
@foxundermoon i have the same problem ... |
@Valtureyn you can test by run |
Yes i have fix the issue the problem come from the apt-get dist-upgrade with last build of rabian buster now it's working Thank You |
What a nightmare for Raspberry Pi 4B with Raspbian Buster Lite.
Although you can download the source for Many commands like this one fail in an ugly way:
Is it too much to ask that Docker test the installation advice? The click-a-tab style of instructions found in Step 4 here require the user to know which architecture they're looking for. It might be better to do something like this instead: sudo add-apt-repository |
@OutsourcedGuru shameless self-promotion, but I wrote how I did it here (incl Docker-compose), and seems like this has helped lots of people: https://withblue.ink/2019/07/13/yes-you-can-run-docker-on-raspbian.html |
What is the problem currently with the install script at get.docker.com? Does it not detect the correct distro or architecture? I don't have access to a raspberry myself to test it, but if changes are needed, the repository with that script is here; https://github.com/docker/docker-install, contributions welcome 🙏 |
I couldn't find any errors with the install script on an Raspberry Pi 3b with buster. |
Lo
Am not sure the sed sub is needed right now though... |
Expected behavior
Successful install
Actual behavior
Docker-CE is unavailable for raspbian buster. I would to request an update to the application.
Steps to reproduce the behavior
Install the following prerequisites.
sudo apt-get install apt-transport-https ca-certificates software-properties-common -y
b. Download and install Docker.
curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
c. Give the ‘pi’ user the ability to run Docker.
sudo usermod -aG docker pi
d. Import Docker CPG key.
sudo curl https://download.docker.com/linux/raspbian/gpg
e. Setup the Docker Repo.
vim /etc/apt/sources.list
Add the following line and save:
deb https://download.docker.com/linux/raspbian/ stretch stable
The text was updated successfully, but these errors were encountered: