Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ECS] [request] Support cgroupns Docker flag #2346

Open
paologallinaharbur opened this issue Jan 30, 2024 · 1 comment
Open

[ECS] [request] Support cgroupns Docker flag #2346

paologallinaharbur opened this issue Jan 30, 2024 · 1 comment

Comments

@paologallinaharbur
Copy link

paologallinaharbur commented Jan 30, 2024

Summary

We would like to be able to leverage the Docker "--cgroupns" flag when creating a task.

Why

We would like to run our integration (nri-ecs) on ECS EC2 having cgroupsV2, however, due to the change of the value of default-cgroupns-mode for cgourpsV2 (with moby/moby#40174) we have some issues since we cannot access some files we leverage to gather and compute several metrics.

I think it is already possible to modify the default-cgroupns-mode therefore I do not expect that to be a security issue, just a missing flag. Consider that it was an issue other projects had compose-spec/compose-spec#148.

Expected Behavior

  • I'd like to have the possibility to configure from the task --cgroupns to override the default?
  • Is there a workaround to set such option per task?
@amogh09
Copy link

amogh09 commented May 1, 2024

Thank you for the feature request, @paologallinaharbur. I will move the request to https://github.com/aws/containers-roadmap/issues which is our central feature request tracking repository.

@amogh09 amogh09 transferred this issue from aws/amazon-ecs-agent May 1, 2024
@amogh09 amogh09 changed the title Support cgroupns Docker flag [ECS] [request] Support cgroupns Docker flag May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants