1、关闭容器id所在容器 关闭 2、空白位置右键打开Powershell 输入下面命令 docker update --memory-swap=6000M 容器id docker update --memory=4000M 容器id