build and run docker image code example
Example 1: docker build image
docker build --tag hello .
Example 2: docker run image
docker run <image id> --name 'container name'
docker build --tag hello .
docker run <image id> --name 'container name'