Method: Aws::ECS::Types::RegisterTaskDefinitionRequest#ipc_mode
- Defined in:
- lib/aws-sdk-ecs/types.rb
#ipc_mode ⇒ String
The IPC resource namespace to use for the containers in the task. The valid values are host, task, or none. If host is specified, then all containers within the tasks that specified the host IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance. If task is specified, all containers within the specified task share the same IPC resources. If none is specified, then IPC resources within the containers of a task are private and not shared with other containers in a task or on the container instance. If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance.
If the host IPC mode is used, be aware that there is a heightened risk of undesired IPC namespace expose.
If you are setting namespaced kernel parameters using systemControls for the containers in the task, the following will apply to your IPC resource namespace. For more information, see
- System Controls][1
-
in the *Amazon Elastic Container Service
Developer Guide*.
-
For tasks that use the
hostIPC mode, IPC namespace relatedsystemControlsare not supported. -
For tasks that use the
taskIPC mode, IPC namespace relatedsystemControlswill apply to all containers within a task.
<note markdown=“1”> This parameter is not supported for Windows containers or tasks run on Fargate.
</note>
[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html
11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 |
# File 'lib/aws-sdk-ecs/types.rb', line 11097 class RegisterTaskDefinitionRequest < Struct.new( :family, :task_role_arn, :execution_role_arn, :network_mode, :container_definitions, :volumes, :placement_constraints, :requires_compatibilities, :cpu, :memory, :tags, :pid_mode, :ipc_mode, :proxy_configuration, :inference_accelerators, :ephemeral_storage, :runtime_platform, :enable_fault_injection) SENSITIVE = [] include Aws::Structure end |