How do I install docker on a Raspberry Pi 5?
How do I install docker on a Raspberry Pi 5?
Friends... my new Raspberry Pi makes me crazy!!!
I would like to install Docker on the RPi5 (8 GB). I am following this guide: https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository
However, at step 2:
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
I always get the error:
E: Package 'docker-ce' has no installation candidate
E: Package 'docker-ce-cli' has no installation candidate
E: Unable to locate package containerd.io
E: Couldn't find any package by glob 'containerd.io'
E: Couldn't find any package by regex 'containerd.io'
E: Unable to locate package docker-buildx-plugin
E: Unable to locate package docker-compose-plugin
Then I found out that at step 1:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
I receive the error:
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Ign:5 https://download.docker.com/linux/ubuntu bookworm InRelease
Err:6 https://download.docker.com/linux/ubuntu bookworm Release
404 Not Found [IP: 18.165.183.12 443]
What I am doing wrong? :-( What am I missing? Why can't this IP be found?
Many thanks! :-)
"Babe wake up. Ubuntu bookworm just dropped"
You're just in the wrong place. You are looking at the documentation for installing on Ubuntu. But according to your logs I can infer that you are running Debian Bookworm.
Just go there: https://docs.docker.com/engine/install/debian/
12 0 ReplyThat url is wrong. It should be
https://download.docker.com/linux/debian
8 0 Reply@NegativeLookBehind@lemmy.world @RustyNova@lemmy.world @morbidcactus@lemmy.ca
you guys are great! it did work with the guide for Debian: https://docs.docker.com/engine/install/debian/
Thanks a lot 😀
6 0 ReplyTry the debian instructions instead here, there are instructions for raspberry pi os but they direct you to the debian page for 64bit raspberry pi os.
If that doesn't work for you, definitely try the .deb route to install from a package
3 0 Reply