iohannes
Published on 2025-03-17 / 1 Visits

更改已运行docker容器内存限制

sudo docker update -m 20g --memory-swap 30000M  your_container_id
  • 内存一定要小于交换内存