Skip to content

Instantly share code, notes, and snippets.

@bakunya
Last active January 27, 2022 08:48
Show Gist options
  • Save bakunya/1aea90c554b18e45cfbcb8bda556e514 to your computer and use it in GitHub Desktop.
Save bakunya/1aea90c554b18e45cfbcb8bda556e514 to your computer and use it in GitHub Desktop.
Installation docker on linux mint.

I tried to install docker for my linux mint following the official docker docs (Ubuntu). But i got some error which are "The repository 'https://download.docker.com/linux/ubuntu ulyssa Release' does not have a Release file."

After a while of searching, I found that the issue was caused by a bash script from official site which prints "codename" of linux mint instead ubuntu as it should. So, I installed using a custom script with what is should need.

You can follow my step for install docker on linux mint or other distro (ubuntu based) that may will work too.

$   sudo apt-get update

$   sudo apt-get install ca-certificates curl gnupg lsb-release

$   curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

$   echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker -archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(. /etc/os-release; echo "$UBUNTU_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

$   sudo apt-get update

$   sudo apt-get install docker-ce docker-ce-cli containerd.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment