This is simple counter application, using flask microframework and sqlite3 to save hit number.
323
Check the counter
~ curl 172.19.0.2:5000
Hello World! I have been seen 1 times.
~ curl 172.19.0.2:5000
Hello World! I have been seen 2 times.
~ curl 172.19.0.2:5000
Hello World! I have been seen 3 times.
~ curl 172.19.0.2:5000
Hello World! I have been seen 4 times.
~ curl 172.19.0.2:5000
Hello World! I have been seen 5 times.
~ curl 172.19.0.2:5000
Hello World! I have been seen 6 times.
~ curl 172.19.0.2:5000
Hello World! I have been seen 7 times.
Get the dockerfile here https://github.com/mromadisiregar/docker/tree/master/flask-sqlite3
docker pull mrsiregar/flask-sqlite3:latest