## 5.1 Overview of the process 

This section reviews the process for getting an image running in your z/OS installation. Detailed commands and descriptions can be found in the upcoming sections. 

## 5.1.1 Provision your instance 

To be able to start a Docker image, a running zCX instance is required. Detailed description on how to configure and start a zCX instance can be found in the previous Chapter 4, “Provisioning and managing your first z/OS Container” on page 49 

## 5.1.2 Get a Docker image to run 

Choose an available image on hub.docker.com  matching the s390x architecture to download into your zCX instance. Use of the Docker pull command downloads the selected image to the local zCX directory. 

## 5.1.3 Start your image 

Start the downloaded image with the docker run  command. To skip the previous step, you can directly issue the docker run  command. If the image is not available locally, Docker automatically downloads the image from hub.docker.com  and starts it, after the download is complete. 

## 5.1.4 Access the provided service by the image 

Depending on the service that is provided by the image, there are different ways to access them. For the chosen example with the HTTP server, the website can be access via the configured IP or DNS name from the zCX instance with the configured Port. 

## 5.2 Get an image from Docker Hub 

There are three different ways to get an image from Docker Hub into the running zCX instance. Both approaches are discussed in detail in this section. The simple way is to download it directly from Docker Hub but that requires a connection to the internet. 

## 5.2.1 Download from Docker Hub 

When the system your zCX instance is running does have access to the internet, you can directly download an image from hub.docker.com . 

## docker pull nginx 

That command downloads the image into the zCX instance. Then, it is available to be started. 

