hostname is a web server that announces the hostname of the server it's being served from
A single purpose Go web server, serving a user interface that announces the hostname of the server it's being served from.
Image built for deployment on Raspberry Pi w/ the following
# Start from Hypriot crew's Go image FROM hypriot/rpi-golang WORKDIR $GOPATH # Fetch the hostname command inside the container. RUN go get github.com/openwebcraft/gowebsrv/hostname # Build the hostname command inside the container. RUN go install github.com/openwebcraft/gowebsrv/hostname # Run the hostname command by default when the container starts. ENTRYPOINT $GOPATH/bin/hostname # Document that the service listens on port 8080. EXPOSE 8080
Docker Pull Command