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