1 Answer
- Newest
- Most votes
- Most comments
1
Hi,
Have a look at section dockerSecurityOptions on https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-dockerSecurityOptions
In particular,
Note
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 in the Amazon
Elastic Container Service Developer Guide.
Please, also follow this detailled tutorial to enable SELinux within a container: https://opensource.com/article/20/11/selinux-containers
Best,
Didier
Relevant content
- asked 2 years ago
- asked 5 years ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 20 days ago