setting up a docker container code example
Example 1: docker hello world
sudo docker run hello-world
Example 2: how to build docker image
docker build <Dockerfile path> -t image-name
sudo docker run hello-world
docker build <Dockerfile path> -t image-name