How to modify the ulimit of a process created by docker service

115 Views Asked by At

I have set ulimit soft and hard 8196 on both

docker-compose.yml

file as well as host machine at

/etc/security/limits.conf

but when I see the process Max Open Files at

cat /proc/pid/limit

soft limit it's still 1024.

0

There are 0 best solutions below