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 #进入容器查看
posted on 2020-03-19 11:13 石圪节胡德禄 阅读(4200) 评论(0) 编辑 收藏 举报