Open mliezun opened 9 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.
Thanks @amogh09 is there a way to link the open PR https://github.com/aws/amazon-ecs-agent/pull/4073 with this issue?
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 settingecho "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.