I wasn't able to find straight answer, to this question, but here it is:
Let's say that I have a host which has max open files 1024:
[root@host]# ulimit -a
open files (-n) 1024
and a docker container running in that host with:
[root@container]# ulimit -a
open files (-n) 1048576
So will I have any problem in container if I try to open more than 1024 files? I think the real limit in this case for container will be 1024 files. What do you think?