To specify project properties for containers

Note: This topic only applies to using native COBOL applications in containers. To use JVM COBOL applications in containers you need to use the functionality described in Debugging and Running JVM COBOL Applications in Containers.

You set container-related properties for a project by clicking Project > Properties > Micro Focus > Project Settings > Container.

The container-related properties you can specify are as follows:

Context
The build context to use when building the image for this project.
Build arguments
Additional arguments to specify for the docker build command when building this project.
Run arguments
Additional arguments to specify for the docker run command when building this project.
Dockerfile
The name of the Dockerfile for this project.
Base stage
The name of the base stage in the Dockerfile for this project. This is the stage of the Dockerfile that is run when using "build on host" mode running and debugging.
Mappings
Volume mount details for this project.

The settings specified here for Run arguments and Mapings can be overridden by the currently active debug and run configurations.

The settings specified here for Context, Dockerfile, and Base stage are used by the New Dockerfile wizard creating a Dockerfile.