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.