Take too much time to start nginx service on docker container when NFS directory mounted on it


I have a LEMP docker container and i mounted a NFS folder to host machine’s directory.then host machine’s directory mounted to LEMP docker container with -v option.
NFS have large size of files.
When i restart docker container,nginx take too much time to start.

Docker version 19.03.1, build 74b1e89e8a
Operating System: Ubuntu 16.04.6 LTS