How to update the docker latest version in Ubuntu OS

Viewed 639

I am trying to update the latest version docker of docker, unfortunately i couldn't complete this can anyone help me out on this ? i tried my best in google but i am not able to complete this.

docker -v

Docker version 19.03.13, build cd8016b6bc

but above is not latest version.

1 Answers

Upgrade from a recent version like 19.03.13 is easy:

sudo apt-get --only-upgrade install docker-ce docker-ce-cli containerd.io

If that didn't work because you don't have any of the packages, follow the installation guide.

Related