sudo apt-get update && sudo apt-get upgrade
honestly, i would expect:
sudo apt install docker
… oops, even do not know what i have get installed. had to remove. so, see more details by following the link below: three steps and you are ready to check.
curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh sudo usermod -aG docker [user_name]
unfortunately, did not work under current user without
docker version # or docker info