I have this limits.conf on my virtual machine:
dfyz soft nofile 1000000
dfyz hard nofile 1000000
* soft core 0
* hard core unlimited
* soft memlock unlimited
* hard memlock unlimited
And I need this in a Docker container. But if I just copy this file to container's /etc/security/limits.conf it doesn't work.
How to set these limits into a Docker container?