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

Commit

Permalink
Drivers: add joyent sdc driver - fixes #1196
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Whiteman <todd.whiteman@joyent.com>
  • Loading branch information
twhiteman committed May 21, 2015
1 parent 2efadea commit 4b46cf9
Show file tree
Hide file tree
Showing 5 changed files with 698 additions and 1 deletion.
1 change: 1 addition & 0 deletions commands/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
_ "github.com/docker/machine/drivers/openstack"
_ "github.com/docker/machine/drivers/rackspace"
_ "github.com/docker/machine/drivers/softlayer"
_ "github.com/docker/machine/drivers/triton"
_ "github.com/docker/machine/drivers/virtualbox"
_ "github.com/docker/machine/drivers/vmwarefusion"
_ "github.com/docker/machine/drivers/vmwarevcloudair"
Expand Down
33 changes: 32 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
page_title: Docker Machine
page_description: Working with Docker Machine
page_keywords: docker, machine, amazonec2, azure, digitalocean, google, openstack, rackspace, softlayer, virtualbox, vmwarevcloudair, vmwarevsphere
page_keywords: docker, machine, amazonec2, azure, digitalocean, google, openstack, rackspace, softlayer, triton, virtualbox, vmwarevcloudair, vmwarevsphere
---


Expand Down Expand Up @@ -1145,6 +1145,37 @@ Options:

The SoftLayer driver will use `UBUNTU_LATEST` as the image type by default.

#### Joyent Triton

Create machines on [Joyent's Triton](http://joyent.com/) Elastic Container Infrastructure.

Before using the Docker service on Triton, you need to have completed the signup
process and generated a set of SSH keys (make sure you know the name and
location of your SSH key). Please visit
[getting started](https://www.joyent.com/developers/getting-started) for more
information.

If you want to try to run Joyent's SDC on your laptop please visit [the getting
started with Cloud on a Laptop section](https://github.com/joyent/sdc#getting-started)
or if you already are running SmartDataCenter [here](https://github.com/joyent/sdc-docker)
is what you need to do in order to enable the Docker service:

$ docker-machine create --driver triton --triton-url=$CLOUDAPI_URL --triton-account=$ACCOUNT --triton-key=$PATH_TO_PRIVATE_SSH_KEY

Options:

- `--triton-url` : The Triton Cloudapi URL (e.g. https://us-east-3b.api.joyent.com).
- `--triton-account` : The Triton acount name (e.g. jill).
- `--triton-key` : The path to your private key file (e.g. ~/.ssh/id_rsa).

The first thing that will happen when you run `$ docker-machine create --driver
triton` is that your private key will be used for generating a certificate that
the Docker client can then use to communicate securely with the Triton docker
service.

Note that some docker-machine commands are not supported in Triton (e.g. ssh,
start, stop, upgrade) as Triton provides a dynamic and flexible docker cloud
environment, and so the provisioning of individual machines isn't necessary.

#### Microsoft Azure

Expand Down
Loading

0 comments on commit 4b46cf9

Please sign in to comment.