Selecting the Base Image for Your Docker Container

InstallAnywhere 2020

When you are configuring your Docker container, you need to select the base image that you want to use in your Docker container.

To select the base image for your Docker container:

1. In the Advanced Designer, on the Build page, click Build Containers. The Build Containers view opens.
2. In the Docker Configuration area, in the Choose Container Configuration setting, select the configuration that you want to configure.
3. In the Select Base Image area, in the Image setting, click the Search and Pull button. The Search and Pull an Image from Docker Registry dialog box opens.
4. Use the Search and Pull an Image from Docker Registry dialog box to search for and then pull the appropriate image to your Docker engine.

To learn more, see Search and Pull an Image from Docker Registry Dialog Box.

Once you have selected an image to pull, InstallAnywhere pulls it to your Docker engine.

5. In the Image setting, click the Refresh Images button. InstallAnywhere populates the list in this setting with the pulled images.
6. In the Image setting, select the appropriate image.

The next time that you build your Docker container, InstallAnywhere uses the image that you selected as your container’s base image.

Tip • To view details such as the ID and size of the image that is selected in the Image setting, click the Image Info button in the Image setting. To learn more, see Image Details Dialog Box.

See Also