Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Latest commit

 

History

History
13 lines (9 loc) · 365 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 365 Bytes

whoami

Simple HTTP docker service that prints it's container ID

$ docker build -t floodio/whoami .
$ docker push floodio/whoami

$ docker run -d -p 8000:8000 --name whoami -t floodio/whoami
736ab83847bb12dddd8b09969433f3a02d64d5b0be48f7a5c59a594e3a6a3541

$ curl $(hostname --all-ip-addresses | awk '{print $1}'):8000
I'm 736ab83847bb