You can quickly install Docker environment on Ubuntu GNU/Linux.
First you need to install the curl utility:
apt update
apt install curl -y
Next command will downloads the script from https://get.docker.com/ for install the latest stable release of Docker on Linux:
curl -fsSL https://get.docker.com -o get-docker.sh
Finally run the script:
sh get-docker.sh