How to increase docker-machine memory Mac

后端 未结 7 2152
旧时难觅i
旧时难觅i 2020-11-30 17:12

I am new to Docker, and trying to go through this tutorial setting up MemSQL from a Docker image - http://docs.memsql.com/4.0/setup/docker/ . I am on a Mac, and the tutoria

7条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-30 17:54

    Docker Machine maintainer here. I don't think adjusting the config.json manually will work.

    Your two options are to either create the machine with --virtualbox-memory set, or to adjust the VM's memory in the VirtualBox GUI ("Settings > System" for that VM I think). Make sure the machine is powered off and there should be a little slider that works.

    EDIT: Another answer shows that you can do the in-place operation from the command line as well using VBoxManage.

提交回复
热议问题