Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.
/ whoami Public archive
forked from jwilder/whoami

Simple HTTP docker service that prints it's container ID

License

Notifications You must be signed in to change notification settings

flood-io/whoami

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple HTTP docker service that prints it's container ID

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 80.1%
  • Dockerfile 19.9%