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.
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.
Content type
Image
Digest
Size
15.9 MB
Last updated
over 8 years ago
docker pull thebeebs/docker-images