Forked from https://github.com/StefanScherer/whoami.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jason Wilder
f5d97f1c71
|
10 years ago | |
---|---|---|
.gitignore | 10 years ago | |
Dockerfile | 10 years ago | |
LICENSE | 10 years ago | |
README.md | 10 years ago | |
http.go | 10 years ago |
README.md
whoami
Simple HTTP docker service that prints it's container ID
$ docker run -d -p 8080:8080 --name whoami -t jwilder/whoami
736ab83847bb12dddd8b09969433f3a02d64d5b0be48f7a5c59a594e3a6a3541
$ curl $(hostname --all-ip-addresses | awk '{print $1}'):8080
I'm 736ab83847bb