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 19, 2015
1 parent 254c9a3 commit a5191e2
Show file tree
Hide file tree
Showing 5 changed files with 653 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 @@ -23,6 +23,7 @@ import (
_ "github.com/docker/machine/drivers/none"
_ "github.com/docker/machine/drivers/openstack"
_ "github.com/docker/machine/drivers/rackspace"
_ "github.com/docker/machine/drivers/sdc"
_ "github.com/docker/machine/drivers/softlayer"
_ "github.com/docker/machine/drivers/virtualbox"
_ "github.com/docker/machine/drivers/vmwarefusion"
Expand Down
21 changes: 20 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, sdc, softlayer, virtualbox, vmwarevcloudair, vmwarevsphere
---


Expand Down Expand Up @@ -1121,6 +1121,25 @@ Options:

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

#### Joyent SmartDataCenter

Create machines on [Joyent's SmartDataCenter](http://joyent.com/).

Before using the Docker service on Joyent's SmartDataCenter, 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 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 sdc --sdc-region=$REGION --sdc-account=$ACCOUNT --sdc-key=$PATH_TO_SSH_KEY

Options:

- `--sdc-region` : The SDC data center you want to use.
- `--sdc-account` : The SDC/JPC acount name.
- `--sdc-key` : The path to your private key matching the public key you are using for SDC/JPC

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

Note that some docker-machine commands are not supported (e.g. ssh, start, stop, upgrade) as they are not applicable to the SDC/JPC Docker service.

#### Microsoft Azure

Expand Down
Loading

0 comments on commit a5191e2

Please sign in to comment.