Run Hello World Container on Docker Engine

Let's run a hello world container on our Docker Engine. The Hello world container will confirm that our docker engine is up and running correctly on our computer.

Pull the latest Docker Hello World Image.

docker pull hello-world:latest

Start a new container and print hello world.

docker run hello-world

After you run this, you will see something similar to the following:

Run Hello World Container on Docker Engine

The Container will not keep running, it will be Exited after printing the 'Hello from Docker!' message.

Of Course this does not make much sense. But this confirms that docker is working correctly on your host machine. It's just a way to test your docker installation.