HUB
Sign inSign up

bluezd/docker-hello-world

By bluezd

•Updated over 9 years ago

Simple Hello World Example

Image
0

320

bluezd/docker-hello-world repository overview

⁠NGINX Hello World Image

⁠Purpose

This image is used to demonstrate a simple Hello World Docker image using NGINX. It serves up a single HTML page that shows the hostname of the container.

⁠Usage

Start the container and publish port 80 to some port on the host.

REGISTRY=YOUR_DOCKER_HUB_USERNAME
docker build --rm -t ${REGISTRY}/docker-hello-world .
docker run -d -p 80 ${REGISTRY}/docker-hello-world
docker push ${REGISTRY}/docker-hello-world

NOTE: Replace YOUR_DOCKER_HUB_USERNAME above with your own Docker Hub username.

Tag summary
Recent tags
Content type
Image
Digest
Size
15.9 MB
Last updated
over 9 years ago
docker pull bluezd/docker-hello-world:latest