I’m using Docker desktop on Debian 12 bookworm. I used the Install using apt repository method a few weeks ago.
Today, I opened Docker Desktop, and it notified that my current version is 4.32 while 4.33 is available. However, when I do sudo apt update
, it says “everything is up-to-date”.
Reading the docs carefully, I see
To upgrade Docker Engine, follow step 2 of the installation instructions, choosing the new version you want to install.
Following that instruction, I see
$ apt-cache madison docker-ce | awk '{ print $3 }'
5:27.1.1-1~debian.12~bookworm
...
// bunch of other lines with lower version numbers
Strange, the number 5.27 is different from the 4.3x I was expecting.
The docs strangely don’t say anything about apt upgrade
, which is surprising; I was assuming the whole point of adding the repo to apt is so I can upgrade easily like this; that’s how most other packages like Google chrome and VSCode work.
Is the intended upgrade path for the “apt repo” method supposed to be to just install whatever is the highest version from the above apt-cache
output, using
sudo apt-get install docker-ce=$VERSION_STRING <... etc etc>
and that’s supposed to update Docker desktop to the 4.33 number I see in Docker Desktop?
That can’t be, since I already have the latest version of docker-ce from that list:
$ apt list docker-ce
Listing... Done
docker-ce/bookworm,now 5:27.1.1-1~debian.12~bookworm amd64 [installed]
So is the interpretation here that because I’m using Debian stable, it’s deliberately not the latest version (because Debian stable packages only get upgraded for security updates and such?) If that’s the case, again that’s different from Google Chrome and VSCode, which provide the latest updates from the apt repo even for Debian stable
Or am I missing something else here?