LMDE 6: How to install Docker Engine

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
psarapkin
Level 1
Level 1
Posts: 26
Joined: Thu Apr 23, 2015 1:45 am

LMDE 6: How to install Docker Engine

Post by psarapkin »

Hi, guys.

I wanna ask you to help me to install docker engine in Linux Mint Debian Edition 6. So, here is situation.

I follow instructions described at the docker documentation page:
https://docs.docker.com/engine/install/debian/

I removed old packages.
Like this:

Code: Select all

for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done
I added new repo with gpg, like this:

Code: Select all

# Add Docker's official GPG key:
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/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

# Add the repository to Apt sources:
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update

Also, I fixed problem, because ./etc/os-release && echo "$VERSION_CODENAME" gives "faye", but we need "bookwarm".
So, there are several ways to fix this. We can change $VERSION_NAME to $DEBIAN_CODENAME to get "bookwarm", or we can hardcode this at /etc/apt/sources.list.d/docker.list. It doesn't matter, the main thing is that we have to target to appropriate repository.

So, finally I have in my /etc/apt/sources.list.d/docker.list:

Code: Select all

deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian bookwarm stable
And after all fixes, when I do "update" I get:

Code: Select all

Reading package lists... Done
E: The repository 'https://download.docker.com/linux/debian bookwarm Release' does not have a Release file.
And at that point I don't know what to do next. I don't understand what LMDE 6 doesn't like in my settings, why it says that it cannot find Release file when I can find this file at: https://download.docker.com/linux/debia ... ary-amd64/

I don't understand what is wrong.
So, I have grain of doubt stuck in my head about something wrong with gpg... But, I think that this is ridiculous...
dave0808
Level 6
Level 6
Posts: 1076
Joined: Sat May 16, 2015 1:02 pm

Re: LMDE 6: How to install Docker Engine

Post by dave0808 »

psarapkin wrote: Mon Sep 30, 2024 6:51 pm

Code: Select all

deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian bookwarm stable
And after all fixes, when I do "update" I get:

Code: Select all

Reading package lists... Done
E: The repository 'https://download.docker.com/linux/debian bookwarm Release' does not have a Release file.
A classic typo perhaps? We've all been there!

Try bookworm instead of bookwarm.
User avatar
Jolly Roger
Level 5
Level 5
Posts: 646
Joined: Wed May 22, 2019 9:22 am
Location: città di Rovato / BS - Italy

Re: LMDE 6: How to install Docker Engine

Post by Jolly Roger »

Hi psarapkin
---
See this Guide in (LinuxCapable) if you can help you with your problem.

Screenshot

https://imgur.com/hYQcsU2
---
⚠️
Translation via Deepl.
🇷🇺 🇷🇺 🇷🇺
Linux Mint LMDE 6 64-bit / Dell OptiPlex SSF Plus 7010 / Intel Core 13 i7-13700 / SSD NVMe M.2 Seagate FireCuda 530 Heatsink 1TB / RAM DDR5 16 GB / Intel Raptor Lake-S UHD Graphics 770 | ⚠️ | Dell Inspiron Small 3030S / Intel Core 14 i5-14400
psarapkin
Level 1
Level 1
Posts: 26
Joined: Thu Apr 23, 2015 1:45 am

Re: LMDE 6: How to install Docker Engine

Post by psarapkin »

dave0808 wrote: Tue Oct 01, 2024 11:34 am
psarapkin wrote: Mon Sep 30, 2024 6:51 pm

Code: Select all

deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian bookwarm stable
And after all fixes, when I do "update" I get:

Code: Select all

Reading package lists... Done
E: The repository 'https://download.docker.com/linux/debian bookwarm Release' does not have a Release file.
A classic typo perhaps? We've all been there!

Try bookworm instead of bookwarm.

Thank a lot!!! That helped.

And I'm sorry for my illiteracy (shame for me).
Post Reply

Return to “Software & Applications”