HUB
Sign inSign up

stenote/nginx-hostname

By stenote

•Updated almost 8 years ago

get container's hostname

Image
3

1M+

stenote/nginx-hostname repository overview

stenote/nginx-hostname stenote/nginx-hostname

⁠docker-nginx-hostname

⁠overview

Show conatiner's hostname

⁠Usage

⁠cluster
docker service create --name=cluster-web -p80:80 --replicas=4 stenote/nginx-hostname
⁠local
docker run -d -p80:80 --name=web stenote/nginx-hostname
Tag summary
Recent tags
Content type
Image
Digest
Size
2.4 MB
Last updated
almost 8 years ago
docker pull stenote/nginx-hostname:latest