General Python Flask container for Docker and Kubernetes deployments.
716
A very simple image for testing Docker and Kubernetes deployments.
Browse to URL which exposes the following:
[Server Information]
Hostname
Container ID
IP Address
Python Version
Flask Version
Date/Time
[Client Information]
Your IP
X-Forwarded-For
User-Agent
[Request Information]
Method
Protocol
# docker-compose.yml
services:
flask-app:
image: kcsoukup/python-docker:latest
container_name: flask-hello-world
ports:
- "5000:5000"
environment:
- FLASK_APP=app.py
- FLASK_ENV=development
restart: unless-stopped
Great for Docker Swarm and Kubernetes Replicas, refreshing returns the hostname and IP of container that responded.
Content type
Image
Digest
sha256:43e91b60a…
Size
49.3 MB
Last updated
9 months ago
docker pull kcsoukup/python-docker