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:

  1. Choose an app for which you want to build an application Docker image and run as an application Docker container.
  2. Select Runtime: local and choose the Configure and Run Action mode.
    Note: The application Docker image generation is only supported for local runtime.
  3. In the dropdown list, choose Configure Run mode.
  4. Note: To override the app property at runtime, see Overriding Using Configure and Run Locally in Overriding an App Property at Runtime.
  5. To generate an application Docker image, select Run as Docker App.
  6. Note: Once you click on Run as Docker App, a container instance of the app Docker image is started. The container instance is terminated after you close the application.
  7. Rename the application Docker image in the next prompt. By default, it takes the name of the current app and version.
  8. Click Run to run it once or choose Save and Run to save and then generate the application Docker image.
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 Mac or Windows.