Environment variables for Docker containers
Environment variables can be specified as key-value pairs in the Docker pod specifications in IBM® Spectrum Conductor.
In addition to user-defined environment variables, the Docker controller configures the following set of environment variables for every working container in the pod:
| Environment variables | Description |
|---|---|
| EGODOCKER_MEMORY_LIMIT | Memory limit that is configured for the Docker container in megabytes. |
| EGODOCKER_CPU_SET | CPU set configured for the Docker container. This parameter specifies CPUs in which to allow execution. |
| EGODOCKER_CPU_SHARES | CPU shares that are configured for the Docker container. This parameter specifies relative weight for CPU sharing. |
| EGODOCKER_ACTIVITY_ID | ID of the EGO activity that is associated with the Docker pod. This activity ID can be used as an identifier to view information on the Docker pod using IBM Platform product interfaces. |
| EGODOCKER_CONTAINER_NAME | Name of the Docker container. |
| EGODOCKER_EXPOSED_CONTAINER_PORTS | Container ports that are specified in the Docker container's port mappings. |