docker run --ulimit nofile=1024:1024 myimage

Category: Docker

docker run --ulimit nofile=1024:1024 myimage

Set ulimit for open file descriptors inside the container

Sets limits on the container's resource usage. nofile=1024 limits open file descriptors to 1024.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.