You can run sudo apt install docker.io to install docker on the given system.
sudo apt install docker.io
Hope this helps!