aws / containers-roadmap

This is the public roadmap for AWS container services (ECS, ECR, Fargate, and EKS).
https://aws.amazon.com/about-aws/whats-new/containers/
Other
5.22k stars 321 forks source link

[ECS] [request] Support for alternative docker runtimes #2345

Open mliezun opened 9 months ago

mliezun commented 9 months ago

Summary

Support for alternative docker runtimes by specifying ECS_DOCKER_RUNTIME.

Description

To be able to use custom docker runtimes like sysbox is necessary to do some pretty involved configurations as showed in this post: https://aws.amazon.com/pt/blogs/aws-brasil/utilizando-runtimes-customizados-no-amazon-ecs/.

By providing an env variable like ECS_DOCKER_RUNTIME we could make the configuration easier by building an AMI based on Amazon Linux (1, 2 or 2023), installing sysbox and then setting echo "ECS_DOCKER_RUNTIME=sysbox-runc" >> /etc/ecs/ecs.conf.

Without that variable we're forced to start and manage the ECS agent manually as well as setting up network configuration with iptables.

amogh09 commented 6 months ago

Hi @mliezun. Thanks for creating this issue and sorry for the delay in our response. I will move transfer this issue to our feature requests repository.

mliezun commented 6 months ago

Thanks @amogh09 is there a way to link the open PR https://github.com/aws/amazon-ecs-agent/pull/4073 with this issue?