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
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
Code: Select all
Reading package lists... Done
E: The repository 'https://download.docker.com/linux/debian bookwarm Release' does not have a Release file.
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...