Managing Task Environments
A task environment defines the runtime configuration that batch tasks require, including which container image to use and how storage is mounted on each container. Defining batch task environments upfront ensures that tasks run with the correct software, user context, and access to shared resources such as NFS file systems.
Setting up a batch task environment enables you to perform the following actions:
- Define which compartment, image compartment, Docker image, and working directory the tasks use.
- Specify runtime properties, such as user ID, group ID, file system group ID, and task environment variables, to match the workload requirements.
- Attach network file systems (NFS) so batch tasks can read input files and write results to a central location.
- Standardize execution, enabling reproducible, scalable batch processing.
You must create at least one task environment before submitting jobs to the Batch service.
For more information, see the following Batch task environment topics: