About the ContainerOpts resource type attribute

Last published : Jun 10, 2026
The ContainerOpts resource attribute is pre-set for Zone-aware resource types. It determines the following:
  • Whether the zone-aware resource can run in the zone.
  • Whether the container information that is defined in the service group's ContainerInfo attribute is passed to the resource.
These values are only effective when you configure the ContainerInfo service group attribute.
Attribute's keys follow:
The ContainerOpts resource type attribute's definitions for Zone-aware types contain the following values:
  • RunInContainer (RIC)
When the value of the RunInContainer key is 1, the agent function (entry point) for that resource runs inside of the local container.
When the value of the RunInContainer key is 0, the agent function (entry point) for that resource runs outside the local container (in the global environment).
A limitation for the RunInContainer value is that only script agent functions (entry points) can run inside a container.
  • PassCInfo (PCI)
When the value of the PassCInfo key is 1, the agent function (entry point) receives the container information that is defined in the service group's ContainerInfo attribute. An example use of this value is to pass the name of the container to the agent.
Related information