Installer 10.7 | Using Console Mode to Install | Creating Docker Images with Software AG Installer on Linux systems | Examples
 
Examples
Creating an Image with a Specific Docker Base Image
To create a Docker image with a specific Docker base image that is different from the default CentOS8, use the following command:
sh SoftwareAGInstaller<yyyymmdd-operating_system>.bin
-dockerCreateImage <docker_image_name> -dockerBaseImage centos:7 -console
Creating a Script for Docker Image Generation
To automate the Docker image generation, you must first create a script. To create the script use the following command:
sh SoftwareAGInstaller<yyyymmdd-operating_system>.bin
-writeScript <full_path_to_new_script_file> -dockerCreateImage <docker_image_name> -console
Creating a Docker Image from Script
To create a Docker image using a previously created script, use the following command:
sh SoftwareAGInstaller<yyyymmdd-operating_system>.bin
-readScript <full_path_to_new_script_file> -dockerCreateImage <docker_image_name> -console
Creating a Docker Image with Base Image from Custom Repository
To create a Docker image with a base image from a custom repository use the following command:
sh SoftwareAGInstaller<yyyymmdd-operating_system>.bin
-dockerCreateImage <docker_image_name> -dockerBaseImage <docker_base_image_name>
-dockerRegistryUser <docker_user> -dockerRegistryPass <docker_pass> -console