Hello Docker 2: build and run your container

We have discussed how to run an existing Docker image from command line in Hello Docker 1. What about creating your own Docker image and run it?

This article illustrates how to create a simple Docker app running a python program.

1. Prepare a project folder and the simple python file

2. Create a Dockerfile

A Dockerfile provide the configuration to create a Docker image. Here is one we are going to create.