@@ -12,29 +12,29 @@ Running the resultant image will cat the iso file to STDOUT.
12
12
13
13
So the full build process goes like this:
14
14
15
- ```
15
+ ``` console
16
16
# you will need more than 2GB memory
17
17
$ docker build -t boot2docker . && docker run --rm boot2docker > boot2docker.iso
18
18
```
19
19
20
20
Now you can install the iso to a USB drive, SD card, CD-Rom or hard-disk. The image contains
21
21
a Master Boot Record, and a partition table, so can be written to a raw device.
22
22
23
- ```
24
- sudo dd if=boot2docker.iso of=/dev/sdX
23
+ ``` console
24
+ $ sudo dd if=boot2docker.iso of=/dev/sdX
25
25
```
26
26
27
27
Making your own customised boot2docker ISO
28
28
==========================================
29
29
30
- The boot2docker.iso release process takes advantage of
31
- [ docker.io Trusted Builds] ( https://index.docker.io/u/boot2docker/ ) so
32
- rather than modifying the Dockerfile and re-building from scratch,
33
- you can make a new `` Dockerfile `` that builds `` FROM boot2docker/boot2docker-rootfs ``
34
- and then run that to generate your boot2docker.iso file:
30
+ The ` boot2docker.iso ` release process takes advantage of Docker Hub's
31
+ [ Automated Builds] ( https://index.docker.io/u/boot2docker/ ) so
32
+ rather than modifying the ` Dockerfile ` and re-building from scratch,
33
+ you can make a new `` Dockerfile `` that builds `` FROM boot2docker/boot2docker ``
34
+ and then run that to generate your ` boot2docker.iso ` file:
35
35
36
36
37
- ```
37
+ ``` console
38
38
$ sudo docker pull boot2docker/boot2docker
39
39
$ echo " FROM boot2docker/boot2docker" > Dockerfile
40
40
$ echo " ADD . $ROOTFS /data/" >> Dockerfile
0 commit comments