Official Repository

Last pushed: 4 months ago
Short Description
Hello World! (an example of minimal Dockerization)
Full Description

Supported tags and respective Dockerfile links

Quick reference

Example output

$ docker run hello-world

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:

For more examples and ideas, visit:

$ docker images hello-world
hello-world  latest  48b5124b2768  1.84kB

How is this image created?

This image is a prime example of using the scratch image effectively. See hello.asm in for the source code of the hello binary included in this image.

Docker Pull Command

Comments (19)
9 hours ago

This changed my life, thank you.

a month ago

Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Get dial tcp: lookup getaddrinfow: No such host is known..

Can someone can help me to solve this issue

3 months ago

The docs seem outdated.

See hello.asm in for the source code of the hello binary included in this image.

there is no hello.asm in that repo.

3 months ago

awesome, my older brother

7 months ago

I get this when trying to run hello_world :

Unable to find image 'hello_world:latest' locally
Pulling repository
C:\Program Files\Docker Toolbox\docker.exe: Error: image library/hello_world:latest not found.
See 'C:\Program Files\Docker Toolbox\docker.exe run --help'.

8 months ago


9 months ago

Newbies not to understand anything with that example.

9 months ago

This example is not starting

9 months ago

i test install and configure docker on ubuntu on ibm power systems (linux on power). but i cannot start docker container on my systems. i found error detail as below.

natitad@dockerubuntuppc64:~$ sudo docker images
ubuntu 14.04 d9560c05d6bd 3 days ago 188 MB
mongo latest 96267d06ead4 2 weeks ago 326.7 MB
httpd latest 929f5c8eee3f 2 weeks ago 195.4 MB
httpd 2.4 929f5c8eee3f 2 weeks ago 195.4 MB
hello-world latest 95f1eedc264a 6 weeks ago 1.848 kB
natitad@dockerubuntuppc64:~$ sudo docker run hello-world
exec format error
Error response from daemon: Cannot start container 9d7809d260978643ced8da0c64bda50e3261fe531654c773d7e34e638e7d2940: [8] System error: exec format error

Please help guide me
Thank you
Natitad S.

a year ago

@sarjunkumar24391 do you have the output from when you try to run the container? Maybe something is wrong with your tags and it's still pulling the (unaltered) version from the repository instead of your local updated version.