HTTP GET container id(hostname)
85
Run:
docker run -it --rm -p 8080:80 lubieciastka/flask_server_bash:3.9.5-slim-buster
In web browser - put any bash command
127.0.0.1:8080 -> Container ID (hostname): a494768dc102
127.0.0.1:8080/hostname -> a494768dc102
127.0.0.1:8080/date -> Sat Jun 19 18:04:20 UTC 2021
127.0.0.1:8080/ls -a
....
Good for playing with Kubernetes.
Content type
Image
Digest
Size
45.6 MB
Last updated
over 5 years ago
docker pull lubieciastka/flask_server_bash:3.9.5-slim-buster