HUB
Sign inSign up
hello-docker logo

mdpiper/hello-docker

By mdpiper

•Updated over 2 years ago

A simple example of setting up, building, and running a Docker image

Image
0

2.0K

mdpiper/hello-docker repository overview

A simple example of a Docker image. It sets up a web server in Python to display a web page.

Pull the image from Docker Hub with:

docker pull mdpiper/hello-docker

Launch a container from the image with:

docker run --publish 8080:80 --detach --name hello mdpiper/hello-docker

To view the exciting result of running this container, open http://[::]:8080⁠ (or http://localhost:8080⁠) in a web browser on your local machine.

When finished, remove the container with:

docker container rm --force hello
Tag summary
Recent tags
Content type
Image
Digest
sha256:bc37c3339…
Size
145.6 MB
Last updated
over 2 years ago
docker pull mdpiper/hello-docker:latest