Sign inSign up

tsu001r/docker-hostname

By tsu001r

•Updated about 6 years ago

When a Get request is received, returns the hostname of the machine.

Image
0

1.3K

tsu001r/docker-hostname repository overview

⁠docker-hostname

Docker Pulls Docker Automated build

⁠what is this? (これはなに?)

When a Get request is received, returns the hostname of the machine.
It is assumed to be used for load balancer testing.

Getリクエストを受け取ると,マシンのホスト名を返します.
ロードバランサのテストに用いることを想定しています.

⁠how to build (ビルド方法)

docker build --tag docker-hostname .    

⁠how to use (使い方)

docker run -d --rm -p 80:80 docker-hostname:latest   

Tag summary

Content type

Image

Digest

Size

15.9 MB

Last updated

about 6 years ago

docker pull tsu001r/docker-hostname