Comments (15)
+1 would love a fix for this. thanks!
from amazon-ecs-agent.
+1 as well have had similar issue!
from amazon-ecs-agent.
+1 same issue, definitely need this feature!
from amazon-ecs-agent.
+1 It'd be great to have this.
from amazon-ecs-agent.
I'd like to hear what use cases you have here and what options you're missing to help us better understand the feature request and prioritize things appropriately.
Thanks,
Euan
from amazon-ecs-agent.
On my end, I'm trying to run some tests on docker containers, which include running a browser within the container. Specifically, the -i (openStdin) and -t (tty) flags allow the container to run the executables I need and keep stdin open so I can ssh into it and run the actual test commands. Right now, the current hack I'm using is to hard code the options as true and run a modified ecs-agent on the instance. Of course, there are still bugs in the CI service we use so I can't say that this fixes all my problems 100%, but so far it looks promising.
from amazon-ecs-agent.
+1
Another use case: be able to alter /etc/hosts. Docker allows it by using --add-host. There is no way to do that in ECS right now.
from amazon-ecs-agent.
+1
We would like to set the log-driver
and hostname
options in the task definitions.
from amazon-ecs-agent.
Please add this. There is no way to use fuse drivers within docker containers without the security risk of running them with --privileged. Hence we cannot mount s3 as a mount point using s3 fuse.
from amazon-ecs-agent.
+1 Need support for --env-file
flag.
We have variables we need to keep out of our task definitions. Currently our best option seems to be editing /etc/syconfig/
with user data. Something like:
#!/bin/bash
yum install -y aws-cli
aws s3 cp s3://my-bucket/myenvlist /etc/myenvlist
echo 'OPTIONS="--env-file=/etc/myenvlist"' > /etc/sysconfig/docker
Even if that works it means having a separate cluster for each task needing an env-file
or one env-file
containing variables for all tasks in a cluster. An env_file
task definition option would solve this for us. Ideally it would allow an s3 endpoint:
"containerDefinitions":[
{
"env_file":[
{ "bucket":"my-bucket", "key":"myenvlist" }
]
}
]
Elastic Beanstalk lets you do something similar in the Dockerrun.aws.json
for docker private repository configuration:
"Authentication":{
"Bucket":"my-bucket",
"Key":"mydockercfg"
},
from amazon-ecs-agent.
I've added logging driver support via ENV vars, check out my comment here:
#123 (comment)
Might be possible to add support for other things until Amazon gets it into UI.
from amazon-ecs-agent.
I'd love to be able to use the --volume-driver
flag, and the new docker volume create
functionality.
from amazon-ecs-agent.
Volumes are indeed the biggest missing thing in ECS right now.
EFS would solve this issue but is just not ready and thus supporting docker volumes and the pluggable drivers would fill this gap.
from amazon-ecs-agent.
Since this issue was opened, we've got closer to parity with the set of Docker config options.
I think it makes more sense to track remaining gaps individually, such as with #236 (volume drivers).
Additional issues for any more specific instances of this are welcome.
Best,
Euan
from amazon-ecs-agent.
@mweather see #236 as euank
mentioned
from amazon-ecs-agent.
Related Issues (20)
- Upgrade minimum docker client api to 1.24 to maintain compatibility with upcoming docker engine v26 release HOT 3
- Task Health Status wrongly reported as HEALTHY HOT 1
- Update not supported on ARM architecture HOT 1
- Add retries for publishing metrics & health checks
- ECS Deployment Fails Due to Premature Resource Availability Reporting HOT 8
- Add support for custom ECS-Agent and ECS-Telemetry Endpoints HOT 1
- Upgraded ecs agent causes Error loading previously saved state from BoltDB HOT 4
- ECS control plane not compatible with ECS-A and Docker v26 requirements for API version HOT 6
- AWS ECS agent does not start in EC2 instance HOT 3
- Agent is Failing to Add com.amazonaws.ecs.capability.logging-driver.journald Attribute to the Container Instance HOT 1
- Docker client doesn't support zstd compression HOT 1
- ECS agent on windows does not work for more than 10 CPU despite setting 'ECS_ENABLE_TASK_CPU_MEM_LIMIT' to true HOT 4
- Secret in US region, and ECS cluster in Asia pacific region HOT 2
- Run Security Updates without failing long-running tasks HOT 2
- Unable to delete Docker image due to multiple repository references HOT 1
- Specifying docker image for caching during ecs-init
- nvidia-gpu-info.json not being generated since v1.82.4
- Docker tags are not shown for pulled images where tag is specified in task definition HOT 1
- More descriptive log message for "Resources not consumed, enough resources not available" HOT 1
- ECS Instances stuck with "Agent Disconnected" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-ecs-agent.