Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jwilder/whoami
Simple HTTP docker service that prints it's container ID
https://github.com/jwilder/whoami
Last synced: 9 days ago
JSON representation
Simple HTTP docker service that prints it's container ID
- Host: GitHub
- URL: https://github.com/jwilder/whoami
- Owner: jwilder
- License: mit
- Created: 2014-07-15T05:46:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-09-06T15:34:27.000Z (about 5 years ago)
- Last Synced: 2024-10-14T20:29:30.458Z (22 days ago)
- Language: Go
- Size: 3.91 KB
- Stars: 102
- Watchers: 4
- Forks: 99
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
whoami
======Simple HTTP docker service that prints it's container ID
$ docker run -d -p 8000:8000 --name whoami -t jwilder/whoami
736ab83847bb12dddd8b09969433f3a02d64d5b0be48f7a5c59a594e3a6a3541
$ curl $(hostname --all-ip-addresses | awk '{print $1}'):8000
I'm 736ab83847bb