Help us understand the problem. What is going on with this article?

docker-machine で利用する virtualbox 仮想マシンのディスクサイズを増やす

More than 5 years have passed since last update.

ただの覚書程度だけど、 docker-machine create する際に --virtualbox-disk-size オプションで指定できる。

$ docker-machine create --help
--virtualbox-disk-size "20000" Size of disk for host in MB [$VIRTUALBOX_DISK_SIZE]

以下、 20GB の sample という名前の仮想マシンを作成する例。
単位は MB。

$ docker-machine create --driver virtualbox --virtualbox-disk-size "20000" sample
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away