Giter Club home page Giter Club logo

docker-machine-driver-triton's Introduction

docker-machine-driver-triton

A Docker Machine driver for Triton.

Requirements

You need a Triton account to use this driver. See this page to create an account on the Triton Public Cloud.

Installation from source

To get the code and compile the binary, run:

go get -u github.com/joyent/docker-machine-driver-triton

Then put the driver in a directory filled in your PATH environment variable or run:

export PATH=$PATH:$GOPATH/bin

This will allow the docker-machine command to find the docker-machine-driver-triton binary.

How to use

Driver-specific command line flags

Flags description

  • --triton-account : The username of the Triton account to use when using the Triton Cloud API. (required)
  • --triton-key-id : The fingerprint of the public key of the SSH key pair to use for authentication with the Triton Cloud API. (required)
  • --triton-key-path : Path to the file in which the private key of triton_key_id is stored.
  • --triton-url : The URL of the Triton Cloud API to use.
  • --triton-image : The name of the Triton image to use.
  • --triton-package : The Triton package to use.
  • --triton-ssh-user: The username to connect to SSH with.

Flags usage

Option Environment Default value
--triton-account TRITON_ACCOUNT
--triton-key-id TRITON_KEY_ID
--triton-key-path TRITON_KEY_PATH "~/.ssh/id_rsa"
--triton-url TRITON_URL "https://us-east-1.api.joyent.com"
--triton-image "debian-8"
--triton-package "g3-standard-0.25-kvm"
--triton-ssh-user TRITON_SSH_USER "root"

Provisioning examples

An example:

docker-machine create -d triton \
--triton-account [email protected] \
--triton-key-id 68:9f:9a:c4:76:3a:f4:62:77:47:3e:47:d4:34:4a:b7 \
test-node

An example using environment variables:

export TRITON_ACCOUNT="[email protected]"
export TRITON_KEY_ID="68:9f:9a:c4:76:3a:f4:62:77:47:3e:47:d4:34:4a:b7"
docker-machine create -d triton test-node

An example using a Ubuntu Image:

docker-machine create -d triton \
--triton-account [email protected] \
--triton-key-id 68:9f:9a:c4:76:3a:f4:62:77:47:3e:47:d4:34:4a:b7 \
--triton-image [email protected] \
--triton-ssh-user ubuntu \
test-node

docker-machine-driver-triton's People

Contributors

misterbisson avatar nimajalali avatar tianon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.