View definition

(ContainerDefinition).DockerSecurityOptions

Defined in github.com/aws/aws-sdk-go/service/ecs/api.go

Description

A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems. This parameter maps to SecurityOpt in the Create a container (https://docs.docker.com/reference/api/docker_remote_api_v1.23/#create-a-container) section of the Docker Remote API (https://docs.docker.com/reference/api/docker_remote_api_v1.23/) and the --security-opt option to docker run (https://docs.docker.com/reference/commandline/run/).

The Amazon ECS container agent running on a container instance must register

with the ECS_SELINUX_CAPABLE=true or ECS_APPARMOR_CAPABLE=true environment variables before containers placed on that instance can use these security options. For more information, see Amazon ECS Container Agent Configuration (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the Amazon EC2 Container Service Developer Guide.

DockerSecurityOptions is referenced in 0 repositories