hostname

command module
v0.0.0-...-c682cf8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 4 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL