Follow this guide to download and install Docker onto your Ubuntu Server.
sudo apt update
sudo apt upgrade
sudo apt install curl
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo docker --version
sudo systemctl enable docker
sudo systemctl start docker