To install the Ubuntu repository version
sudo apt install docker.io
Check the version with
docker --version
You may still want to do the post-install steps. Thanks @wisbucky
To install the Ubuntu repository version
sudo apt install docker.io
Check the version with
docker --version
You may still want to do the post-install steps. Thanks @wisbucky