It provides all the files and code your container will need. Running the docker build command creates a Docker image using the Dockerfile. This built image is in your machine's local Docker image registry
Create Docker image with name with path to docker file
docker build -t <username>/<name-of-image> ./path/to/Dockerfile
Running a container launches your software with private resources, securely isolated from the rest of your machine.
Run a container:
docker run -it --rm dmcaodha/cheers2019
Login and share to Docker Hub
docker login &&
docker push dmcaodha/cheers2019