containers-roadmap icon indicating copy to clipboard operation
containers-roadmap copied to clipboard

[ECS] [request] Support for alternative docker runtimes

Open mliezun opened this issue 1 year ago • 2 comments

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.

mliezun avatar Jan 14 '24 20:01 mliezun

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.

amogh09 avatar Apr 30 '24 18:04 amogh09

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

mliezun avatar May 01 '24 18:05 mliezun