pid Mode
Parameters
The process namespace to use for the containers in the task. The valid values are `host`
or `task`
. On Fargate for Linux containers, the only valid value is `task`
. For example, monitoring sidecars might need `pidMode`
to access information about other containers running in the same task. If `host`
is specified, all containers within the tasks that specified the `host`
PID mode on the same container instance share the same process namespace with the host Amazon EC2 instance. If `task`
is specified, all containers within the specified task share the same process namespace. If no value is specified, the default is a private namespace for each container. If the `host`
PID mode is used, there's a heightened risk of undesired process namespace exposure. This parameter is not supported for Windows containers. This parameter is only supported for tasks that are hosted on FARGATElong if the tasks are using platform version `1.4.0`
or later (Linux). This isn't supported for Windows containers on Fargate.