docker run -ti --name test1 --ulimit nproc=65535 centos:7 docker run -ti --name test2 --ulimit nproc=1024 centos:7
--ulimit nproc=65535 在启动前来指定大小 ulimt -u #进入容器查看