Skip to content
forked from traefik/whoami

Tiny Go webserver that prints os information and HTTP request to output

License

Notifications You must be signed in to change notification settings

skywirex/whoami

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whoami

Docker Pulls

Tiny Go webserver that prints os information and HTTP request to output

$ docker run -d -P --name iamfoo skywirex/whoami:arm64
$ docker inspect --format '{{ .NetworkSettings.Ports }}'  iamfoo
map[80/tcp:[{0.0.0.0 32769}]]
$ curl "http://0.0.0.0:32769"
Hostname :  6e0030e67d6a
IP :  127.0.0.1
IP :  ::1
IP :  172.17.0.27
IP :  fe80::42:acff:fe11:1b
GET / HTTP/1.1
Host: 0.0.0.0:32769
User-Agent: curl/7.35.0
Accept: */*

About

Tiny Go webserver that prints os information and HTTP request to output

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 92.0%
  • Makefile 4.2%
  • Dockerfile 3.8%