Components to install/upgrade
– docker-ce
– docker-ce-cli
– containerd.io
Update docker version
2 solutions :
1) using the ubuntu repository if the available versions look suitable.
Find available version for docker-ce :
apt-get list | grep docker-ce
Upgrade it :
apt-get install --only-upgrade docker-ce docker-ce-cli containerd.io
2) Use docker repository
….
Reinstall docker-ce
sudo apt-get install --reinstall docker-ce