Generating an Application Docker Image Locally
Before you beginInstall Docker and ensure it is running properly.
To generate an application Docker image, perform the following steps:
- Choose an app for which you want to build an application Docker image and run as an application Docker container.
- Select Runtime: local and choose the Configure and Run Action mode.Note: The application Docker image generation is only supported for local runtime.
- In the dropdown list, choose Configure Run mode.
- To generate an application Docker image, select Run as Docker App.
- Rename the application Docker image in the next prompt. By default, it takes the name of the current app and version.
- Click Run to run it once or choose Save and Run to save and then generate the application Docker image.
Note: To override the app property at runtime, see Overriding Using Configure and Run Locally in Overriding an App Property at Runtime.
Note: By default, the Dockerfile used to generate the application Docker image uses amazonlinux as the base image. You can use alpine:3.14 and other compatible base images as well.
Note: The application Docker images use the Linux binary. Therefore, you cannot generate the application Docker image of apps that use native drivers, such as EMS and OracleDB, on a mac or Windows.