A docker container running flask python environment shows a good RESTful API example
Step 1 Clone the directory to local
Step 2 cd to this folder your just downloaded
Step 3 use the command to build a image: docker build -t flaskapp .
Step 4 use the command to run the docker container: docker run -d -p 5000:5000 flaskapp
Step 5 open a browser and type the local host with portal 5000.
Video link: https://screencast-o-matic.com/watch/cYhjqHgt3a