Open kbsingh opened 8 years ago
IIRC they were also looking at (super-privileged) containerizing this. It's likely worth filing an issue upstream.
The readme at https://github.com/aws/amazon-ecs-agent references running this as a container on any image that includes docker. We could just drop in a systemd unit file via cloud-init, and that ought to work.
There's an RPM for this here: https://github.com/aws/amazon-ecs-init
I tried this out today, I used the "other linux" directions from https://github.com/aws/amazon-ecs-agent/blob/master/README.md, had to add --privileged
and my --env=ECS_CLUSTER=
to the run line, but then it worked fine.
https://github.com/aws/amazon-ecs-agent needs to be packaged up in a way that we can roll out an AWS ECS specific atomichost image; this would allow users on AWS ECS serivice to better normalise their CentOS Atomic Host experience with the in platform integrations provided in AWS.