Installing Docker on Ubuntu
Installing Docker on Ubuntu is simple. Run the following commands separately.
sudo apt install docker.io
sudo systemctl enable docker
sudo systemctl start docker
sudo systemctl status docker
This will ensure docker will run when you restart your system or server.