I need to set the file descriptor limit correctly on the docker container I connect to container with ssh (https://github.com/phusion/baseimage-docker)
Already trie
If using the docker-compose file, Based on docker compose version 2.x We can set like as below, by overriding the default config.
ulimits: nproc: 65535 nofile: soft: 26677 hard: 46677
https://docs.docker.com/compose/compose-file/