diff --git a/Makefile.work b/Makefile.work index 075fc3af392..23a3e272fe9 100644 --- a/Makefile.work +++ b/Makefile.work @@ -310,6 +310,7 @@ DOCKER_RUN := docker run --rm=true --privileged --init \ -e "https_proxy=$(https_proxy)" \ -e "no_proxy=$(no_proxy)" \ -i$(shell { if [ -t 0 ]; then echo t; fi }) \ + --ulimit nofile=524288:524288 \ $(SONIC_BUILDER_EXTRA_CMDLINE) # Mount the $(DOCKER_ROOT) to /var/lib/docker in the slave container, the overlay fs is not supported as dockerd root folder.