Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Commit

Permalink
Improved docs for hypriot driver
Browse files Browse the repository at this point in the history
Signed-off-by: Dieter Reuter <dieter.reuter@me.com>
  • Loading branch information
DieterReuter committed May 25, 2015
1 parent aa3ab27 commit 74c1918
Showing 1 changed file with 31 additions and 3 deletions.
34 changes: 31 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1179,12 +1179,22 @@ Environment variables and default values:
| `--google-disk-type` | `GOOGLE_DISK_TYPE` | `pd-statdard` |

#### Hypriot
Create machines using an existing Raspberry Pi with installed Hypriot image (based on Raspbian).
Create machines using an existing Raspberry Pi with installed [Hypriot](http://blog.hypriot.com/) image (based on Raspbian).

For more details on installing the basic system (including a preinstalled Docker daemon) please
see the detailled tutorial [Getting started with Docker on your Raspberry Pi](http://blog.hypriot.com/getting-started-with-docker-on-your-arm-device/).

Before using the `docker-machine create` command you have to copy your SSH keys to the device:
$ ssh-copy-id root@$HYPRIOT_IP_ADDRESS

$ ssh-copy-id root@$HYPRIOT_IP_ADDRESS

Now you can easily provision your Docker engine with:
$ docker-machine create --driver hypriot --hypriot-ip-address=$HYPRIOT_IP_ADDRESS black-pearl

$ docker-machine create --driver hypriot --hypriot-ip-address=$HYPRIOT_IP_ADDRESS black-pearl

In order to upgrade to the latest available Docker version, just run:

$ docker-machine upgrade black-pearl

Options:

Expand All @@ -1204,6 +1214,24 @@ Environment variables and default values:
| `--hypriot-ssh-key` | - | `$HOME/.ssh/id_rsa` |
| `--hypriot-ssh-port` | - | `22` |

Once you have created your Docker machine run this command to configure your shell:

$ eval "$(docker-machine env black-pearl)"

Now you can use the Docker machine as usual:

$ docker version
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 7c8fca2
OS/Arch (client): darwin/amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 7c8fca2
OS/Arch (server): linux/arm

#### IBM Softlayer
Create machines on [Softlayer](http://softlayer.com).

Expand Down

0 comments on commit 74c1918

Please sign in to comment.