Tuesday, October 15, 2024

Docker on Linux mint 22

The repository 'https://download.docker.com/linux/ubuntu \ Release' does not have a Release file.

Is

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

not working?
 

If you are running Linux Mint 22 use this instead
 

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu noble stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null


$(dpkg --architecture)  :you can leave this if you don't know that you have amd64

$(lsb_release -cs) :will return wilma or another incorrect value. Mint 22 is based on Noble Numbat so we be better off writing out noble.


If you use another version of Mint, check corresponding Ubuntu version and check what it corresponds to in the repo https://download.docker.com/linux/ubuntu/dists/
"Noble Numbat" is located in the catalog "noble"




No comments:

Blog Archive