How did I upgrade Docker Client from 19 to 24 on Debian 10?

Step 1

Check the installed version:

docker version

2023-09-12--16-00-19

Step 2

apt-get update

docs.docker.com/engine/install/debian/#install-using-the-repository

Step 3

apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

docs.docker.com/engine/install/debian/#install-using-the-repository

Step 3

Check the installed version:

docker version

2023-09-12--16-00-00

Step 4