apt intasll docker.io code example
Example 1: install docker ubuntu
sudo apt install docker.io
Example 2: how to start docker in ubuntu
systemctl start docker
# to start docker from terminal
sudo apt install docker.io
systemctl start docker
# to start docker from terminal