Giter Club home page Giter Club logo

Comments (15)

cyrus-one avatar cyrus-one commented on August 16, 2024

+1 would love a fix for this. thanks!

from amazon-ecs-agent.

shinshinwu avatar shinshinwu commented on August 16, 2024

+1 as well have had similar issue!

from amazon-ecs-agent.

junyu-w avatar junyu-w commented on August 16, 2024

+1 same issue, definitely need this feature!

from amazon-ecs-agent.

leethomas avatar leethomas commented on August 16, 2024

+1 It'd be great to have this.

from amazon-ecs-agent.

euank avatar euank commented on August 16, 2024

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.

Munchery-ReeseLevine avatar Munchery-ReeseLevine commented on August 16, 2024

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.

manishrajkarnikar avatar manishrajkarnikar commented on August 16, 2024

+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.

oli-g avatar oli-g commented on August 16, 2024

+1
We would like to set the log-driver and hostname options in the task definitions.

from amazon-ecs-agent.

jessesanford avatar jessesanford commented on August 16, 2024

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.

michaelgruber avatar michaelgruber commented on August 16, 2024

+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.

jessecollier avatar jessecollier commented on August 16, 2024

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.

 avatar commented on August 16, 2024

I'd love to be able to use the --volume-driver flag, and the new docker volume create functionality.

from amazon-ecs-agent.

lukaswelte avatar lukaswelte commented on August 16, 2024

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.

euank avatar euank commented on August 16, 2024

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.

wallnerryan avatar wallnerryan commented on August 16, 2024

@mweather see #236 as euank mentioned

from amazon-ecs-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.