command
module
Version:
v0.0.0-...-c682cf8
Opens a new window with list of versions in this module.
Published: Jul 24, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
hostname
Tiny HTTP service that returns the container's hostname. Built with Go, packaged on BusyBox.
Run
docker run -d -p 8000:8000 --name hostname xuqingfeng/hostname
Usage
curl 127.0.0.1:8000
Response is plain text, e.g. a1b2c3d4e5f6 (the container hostname).
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.