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.21k stars 320 forks source link

[ECS] [request]: Proxy Settings to container automatically #1266

Open nataizya opened 3 years ago

nataizya commented 3 years ago

Community Note

Tell us about your request What do you want us to build? Make it possible to automatically pass proxy settings to containers as described in docker documentation (using docker 19.03.1) here:

In Docker 17.07 and higher, you can configure the Docker client to pass proxy information to containers automatically.

Which service(s) is this request for? ECS

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? What outcome are you trying to achieve, ultimately, and why is it hard/impossible to do right now? What is the impact of not having this problem solved? The more details you can provide, the better we'll be able to understand and solve the problem.

Pass proxy settings to container automatically.

Are you currently working around this issue? How are you currently solving this problem? Currently have to pass environment variables to the container through the task definition.

If the container is started manually (after setting proxy settings in ~/.docker/config.json), the proxy environment variables are set in the container as expected. However, tasks started via ECS, dont get these proxy environment variables populated automatically without passing them through the task definition.

Additional context Anything else we should know?

Attachments If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)

mageshwaran-az commented 3 years ago

Hi team, do we have any deadline, when we can expect this solution?

I believe this change more into ECS Agent. if we modify our agent code to add default variables such as environment, volumes. Also, can we have the mechanism like to pass all default values to each containers. Because we have anther use case where we want mount a one or more volumes /scratch to all containers by default launched by ECS agent.

rgleme commented 2 years ago

Hello. Any news ? This change would help a lot ! Thanks

arunim2405 commented 1 day ago

Any news for this? We are facing the same isssue