title: How can I pass ulimit parameters to a Docker with Terraform?
body: <p>I'm trying to setup elasticsearch cluster in Docker with Terraform. Docker compose file containing some ulimit definitions on containers: </p>
  
  <pre><code>ulimits:
    memlock:
      soft: -1
      hard: -1
  </code></pre>
  
  <p>But I didn't found any documentation how to do it with Terraform.</p>