Sign inSign up

markbenschop/flask-demo

By markbenschop

Updated about 1 year ago

Flask container for demonstration purposes

Image
4

100K+

markbenschop/flask-demo repository overview

Flask demonstration container I created for a kubernetes demo to show scaling up and down and upgrading to another version.
This container runs a flask app that will display the container hostname and time.
An environment variables can be set :NAME. This will be displayed when set.
The app itself listens on port 5000 by default.
Run the container with the docker command :
docker run --name flask-demo -p8080:5000 -e USER='Mark' flask-demo:0.7
Source files can be found at : https://github.com/markbenschop/flask-demo.git

Tag summary

Content type

Image

Digest

sha256:272a6affa

Size

270.6 MB

Last updated

about 1 year ago

docker pull markbenschop/flask-demo:2.1.0