Deploying a hello world sample
Once you have a container host configured, you need to ensure that your environment has been configured successfully and can utilize containers. A really simple way to check that all is well on your container host is by downloading and running an application. Running this containerized application successfully shows that you have containers and Docker set up.
There are a few simple applications you can utilize that test the container environment on CH1
(which you set up in the Configuring a container host recipe). You use a few of them in this recipe.
Before you can run a container, you must acquire a container image. There are several ways to obtain images as you see in this chapter. Docker maintains an online registry that contains a variety of container images for you to leverage. Using the docker
command, you can search and download images either to use directly or to use as the basis of a custom-built container (for example, as you can see in the Using...