this post was submitted on 20 Jun 2024
13 points (100.0% liked)

raspberrypi

3998 readers
2 users here now

Community about the single-board computers, micro-controllers and related projects.

https://www.raspberrypi.com/

Other RaspberryPi communities on Lemmy

founded 5 years ago
MODERATORS
 

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! :-)

you are viewing a single comment's thread
view the rest of the comments
[–] RustyNova@lemmy.world 13 points 11 months ago

"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/