run ubuntu from docker code example
Example 1: how to start docker in ubuntu
systemctl start docker
# to start docker from terminal
Example 2: docker run ubuntu container
docker run -it ubuntu
systemctl start docker
# to start docker from terminal
docker run -it ubuntu