如何增加码头机内存Mac [英] How to increase docker-machine memory Mac
问题描述
boot2docker
。 VM需要4GB内存才能运行。本教程指定了如何使用 boot2docker
执行此操作,但是我找不到使用docker-machine / docker工具箱的方法。
这是我正在使用的命令,我正在尝试浏览教程而不改变boot2docker配置的错误。
docker run --rm --net = host memsql / quickstart check-system
错误:MemSQL至少需要4 GB内存运行。
当您创建Docker机器时,可以提名内存大小:
docker-machine create -d virtualbox --virtualbox-memory 4096默认
让我知道这是否有帮助。
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 tutorial uses boot2docker
which seems to have been deprecated.
The VM needs 4GB memory to run. The tutorial specifies how to do this with boot2docker
but I cannot find a way to do this with the docker-machine/docker toolbox.
Here is the command I am using and the error I am getting just trying to go through the tutorial without altering the boot2docker config.
docker run --rm --net=host memsql/quickstart check-system
Error: MemSQL requires at least 4 GB of memory to run.
when you create docker machine, you can nominate the memory size:
docker-machine create -d virtualbox --virtualbox-memory 4096 default
Let me know if this helps.
这篇关于如何增加码头机内存Mac的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!