pid Mode
Parameters
value
The process namespace to use for the containers in the task. The valid values are host
or 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 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. For more information, see PID settings in the Docker run reference.