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] allow setting runtime for agent #673

Open
arkadiyt opened this issue Dec 29, 2019 · 1 comment
Open

[ECS][Request] allow setting runtime for agent #673

arkadiyt opened this issue Dec 29, 2019 · 1 comment
Labels
ECS Amazon Elastic Container Service Proposed Community submitted issue

Comments

@arkadiyt
Copy link

Summary

I'd like to run my ECS task containers on top of gVisor. It seems that this was possible in the past on ECS using an approach like this one:
https://aarongorka.com/blog/gvisor-on-ecs/

Notably the author had to disable the init system and ran the ecs-agent container through docker directly, and also had to manually set some volume binds and other settings. I tried to follow the same approach (updating to include new binds since the post was written, add the NET_ADMIN/SYS_ADMIN capabilities, etc), but in the end it still fails because ecs-agent added an explicit check for not being run directly:
https://github.com/aws/amazon-ecs-agent/blob/7fb101189ae57170a2cc2976d086bec5a4146b97/agent/app/agent_unix.go#L65-L73

It would be great if amazon-ecs-init allowed specifying the runtime so I could run task containers on gVisor and let ecs-agent continue to use runc

@fierlion fierlion transferred this issue from aws/amazon-ecs-init Dec 30, 2019
@fierlion
Copy link
Member

fierlion commented Sep 11, 2020

#1072 <- a similar request which originated in ecs-agent repo

@fierlion fierlion changed the title Feature request: allow setting runtime for agent [ECS][Request] allow setting runtime for agent Sep 11, 2020
@fierlion fierlion added ECS Amazon Elastic Container Service Proposed Community submitted issue labels Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ECS Amazon Elastic Container Service Proposed Community submitted issue
Projects
None yet
Development

No branches or pull requests

2 participants