Skip to content

Commit 59560fc

Browse files
committedSep 10, 2015
Update references to docker.io
Also includes markdown formatting updates
1 parent c9cf830 commit 59560fc

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed
 

‎Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ RUN cp -v $ROOTFS/etc/version /tmp/iso/version
262262

263263
# Get the Docker version that matches our boot2docker version
264264
# Note: `docker version` returns non-true when there is no server to ask
265-
RUN curl -L -o $ROOTFS/usr/local/bin/docker https://get.docker.io/builds/Linux/x86_64/docker-$(cat $ROOTFS/etc/version) && \
265+
RUN curl -L -o $ROOTFS/usr/local/bin/docker https://get.docker.com/builds/Linux/x86_64/docker-$(cat $ROOTFS/etc/version) && \
266266
chmod +x $ROOTFS/usr/local/bin/docker && \
267267
{ $ROOTFS/usr/local/bin/docker version || true; }
268268

‎doc/BUILD.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,29 @@ Running the resultant image will cat the iso file to STDOUT.
1212

1313
So the full build process goes like this:
1414

15-
```
15+
```console
1616
# you will need more than 2GB memory
1717
$ docker build -t boot2docker . && docker run --rm boot2docker > boot2docker.iso
1818
```
1919

2020
Now you can install the iso to a USB drive, SD card, CD-Rom or hard-disk. The image contains
2121
a Master Boot Record, and a partition table, so can be written to a raw device.
2222

23-
```
24-
sudo dd if=boot2docker.iso of=/dev/sdX
23+
```console
24+
$ sudo dd if=boot2docker.iso of=/dev/sdX
2525
```
2626

2727
Making your own customised boot2docker ISO
2828
==========================================
2929

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:
3535

3636

37-
```
37+
```console
3838
$ sudo docker pull boot2docker/boot2docker
3939
$ echo "FROM boot2docker/boot2docker" > Dockerfile
4040
$ echo "ADD . $ROOTFS/data/" >> Dockerfile

0 commit comments

Comments
 (0)
Please sign in to comment.