tutum/hello-world

By tutum

Updated about 10 years ago

Image to test docker deployments. Has Apache with a 'Hello World' page listening in port 80.

Image
91

10M+

tutum/hello-world repository overview

docker-hello-world

Deploy to Tutum

Sample docker image to test docker deployments

Usage

To create the image tutum/hello-world, execute the following command on the docker-hello-world folder:

docker build -t tutum/hello-world .

You can now push your new image to the registry:

sudo docker push tutum/hello-world

Running your Hello World docker image

Start your image:

sudo docker run -d -p 80 tutum/hello-world

It will print the new container ID (like d35bf1374e88). Get the allocated external port:

sudo docker port d35bf1374e88 80

It will print the allocated port (like 4751). Test your deployment:

curl http://localhost:4751/

Hello world!

by http://www.tutum.co

Tag summary

Content type

Image

Digest

sha256:0d57def80

Size

6.5 MB

Last updated

about 10 years ago

docker pull tutum/hello-world