#make sure you have install docker
sudo systemctl start docker
sudo docker pull ubuntu
sudo docker run -it ubuntu
sudo systemctl start docker
sudo docker pull ubuntu
sudo docker run -it ubuntu
docker run -it ubuntu
systemctl start docker
# to start docker from terminal
docker run -i -t ubuntu /bin/bash
sudo apt install docker.io
systemctl start docker
systemctl enable docker
docker --version