My Java application appears to be running out of "open files" limit when running in a Docker container in AWS ECS. Upon further investigation, I found that the open files limit defaults to 1024.

Typically, in Linux I would edit `/etc/security/limits.conf`. That does not appear to take effect when I modify that file in my Docker container. 

I know I can also pass command line ulimit parameters to `docker run` as documented [here](https://docs.docker.com/engine/reference/commandline/run/#set-ulimits-in-container-ulimit). But I do not have direct access to the Docker command line in ECS. There's gotta be a way to do it via a Task definition. How do I accomplish this ?