Signed-off-by: Hollie Teal <hollie@docker.com>
| ... | ... |
@@ -9,14 +9,14 @@ with are very large, your pulls might start failing with "no space left on devic |
| 9 | 9 |
the Boot2Docker VM's volume fills up. The solution is to increase the volume size by |
| 10 | 10 |
first cloning it, then resizing it using a disk partitioning tool. |
| 11 | 11 |
|
| 12 |
-We'll use [GParted](http://gparted.sourceforge.net/download.php/index.php) |
|
| 13 |
-since it's a free ISO and works well with VirtualBox. |
|
| 12 |
+We recommend [GParted](http://gparted.sourceforge.net/download.php/index.php)-- the ISO |
|
| 13 |
+is a free download and works well with VirtualBox. |
|
| 14 | 14 |
|
| 15 | 15 |
## 1. Stop Boot2Docker |
| 16 | 16 |
|
| 17 | 17 |
Issue the command to stop the Boot2Docker VM on the command line: |
| 18 | 18 |
|
| 19 |
- $ boot2docker stop |
|
| 19 |
+ `$ boot2docker stop` |
|
| 20 | 20 |
|
| 21 | 21 |
## 2. Clone the VMDK image to a VDI image |
| 22 | 22 |
|
| ... | ... |
@@ -25,21 +25,21 @@ instead create a VDI volume and clone the VMDK volume to it. |
| 25 | 25 |
|
| 26 | 26 |
Using the command line VirtualBox tools, clone the VMDK image to a VDI image: |
| 27 | 27 |
|
| 28 |
- $ vboxmanage clonehd /full/path/to/boot2docker-hd.vmdk /full/path/to/<newVDIimage>.vdi -—format VDI -—variant Standard |
|
| 28 |
+ `$ vboxmanage clonehd /full/path/to/boot2docker-hd.vmdk /full/path/to/<newVDIimage>.vdi -—format VDI -—variant Standard` |
|
| 29 | 29 |
|
| 30 | 30 |
## 3. Resize the VDI volume |
| 31 | 31 |
|
| 32 | 32 |
Choose a size that will be appropriate for your needs. If you’re spinning up a lot of containers, |
| 33 | 33 |
or your containers are particularly large, larger will be better: |
| 34 | 34 |
|
| 35 |
- $ vboxmanage modifyhd /full/path/to/<newVDIimage>.vdi —-resize <size in MB> |
|
| 35 |
+ `$ vboxmanage modifyhd /full/path/to/<newVDIimage>.vdi —-resize <size in MB>` |
|
| 36 | 36 |
|
| 37 | 37 |
## 4. Download a disk partitioning tool ISO |
| 38 | 38 |
|
| 39 |
-To resize the volume, you'll need a disk partitioning tool like [GParted](http://gparted.sourceforge.net/download.php/). |
|
| 39 |
+To resize the volume, we'll use [GParted](http://gparted.sourceforge.net/download.php/). |
|
| 40 | 40 |
Once you've downloaded the tool, add the ISO to the Boot2Docker VM’s IDE bus. |
| 41 | 41 |
You might need to create the bus before you can add the ISO. **Note:** It's |
| 42 |
-important that the partitioning tool you choose is available as an ISO so that |
|
| 42 |
+important that you choose a partitioning tool that is available as an ISO so that |
|
| 43 | 43 |
the Boot2Docker VM can be booted with it. |
| 44 | 44 |
|
| 45 | 45 |
<table> |
| ... | ... |
@@ -86,7 +86,7 @@ the Boot2Docker VM in VirtualBox. |
| 86 | 86 |
## 8. Start the Boot2Docker VM |
| 87 | 87 |
|
| 88 | 88 |
Fire up the Boot2Docker VM manually in VirtualBox. The VM should log in automatically, but |
| 89 |
-the credentials are ``docker/tcuser`` if it doesn't. Using the ``df -h`` command, verify |
|
| 89 |
+if is doesn't, the credentials are `docker/tcuser`. Using the `df -h` command, verify |
|
| 90 | 90 |
that your changes took effect. |
| 91 | 91 |
|
| 92 | 92 |
<img src="/articles/b2d_volume_images/verify.png"> |