Limit number of open files in a Container
<p>We are trying to limit the total number of open files for an entire container. Limit on the open fds in host is done by using ulimit. From what we know docker container runs as a process on the host OS and hence we should be able to limit the total number of open files for each docker container using ulimit.</p>

<p>But we are able to cross the total number of open files within a container[the ulimit value on the host].</p>

<p>Does docker have a well defined mechanism to restrict the number of open files per container?</p>