Increase Disk Space on Docker Toolbox

前端 未结 4 1032
[愿得一人]
[愿得一人] 2021-02-01 03:11

I\'m trying to start some very large Containers on Docker Toolbox (about 18 GB in total). Unfortunately, I always get the error that there is not enough disk space. I have a 1TB

4条回答
  •  无人共我
    2021-02-01 03:18

    You can resize without having to delete the VM and recreate it. By default Docker Machine uses VirtualBox, which has the vboxmanage command line tool for working with VMs. You can use the modifymedium command to change disk size:

    vboxmanage modifymedium docker-vm.vdi --resize 100000
    

提交回复
热议问题