xuqingfeng / hostname

Simply print hostname of the container

Home Page:https://hub.docker.com/r/xuqingfeng/hostname/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hostname

powered by busybox and golang

  • docker run -d -p 8000:8000 --name hostname xuqingfeng/hostname

  • curl 127.0.0.1:8000

About

Simply print hostname of the container

https://hub.docker.com/r/xuqingfeng/hostname/

License:MIT License


Languages

Language:Go 55.3%Language:Dockerfile 44.7%