Giter Club home page Giter Club logo

docker-machine-driver-vscale's Introduction

Build Status

Docker Machine Vscale Driver

This is a plugin for Docker Machine allowing to create Docker hosts on Vscale cloud services.

Installation

To install this plugin manually, download the binary docker-machine-driver-vscale and make it available by $PATH, for example by putting it to /usr/local/bin/:

$ curl -L https://github.com/vahaah/docker-machine-driver-vscale/releases/download/1.1.0/docker-machine-driver-vscale > /usr/local/bin/docker-machine-driver-vscale

$ chmod +x /usr/local/bin/docker-machine-driver-vscale

The latest version of docker-machine-driver-vscale binary is available on the "Releases" page.

For Ubuntu 16.04:

$ sudo curl -L https://github.com/vahaah/docker-machine-driver-vscale/releases/download/1.1.0/docker-machine-driver-vscale.ubuntu.16.04.x64 > /usr/local/bin/docker-machine-driver-vscale

$ sudo chmod +x /usr/local/bin/docker-machine-driver-vscale

Usage

After compile you can use driver for creating docker hosts. Get Vscale access token from your profile then run:

$ docker-machine create -d vscale --vscale-access-token YOUR_VSCALE_ACCESS_TOKEN machine_name

Available options:

  • --vscale-access-token: Access token.
  • --vscale-location: Server location.
  • --vscale-rplan: Server size.
  • --vscale-made-from: Server type
  • --vscale-swap-file: Swap size in MB

Environment variables and default values:

CLI option Environment variable Default
--vscale-access-token VSCALE_ACCESS_TOKEN -
--vscale-location VSCALE_LOCATION spb0
--vscale-rplan VSCALE_RPLAN small
--vscale-made-from VSCALE_MADE_FROM ubuntu_14.04_64_002_master
--vscale-swap-file VSCALE_SWAP_FILE 0

Development

Build from Source

If you wish to work on Vscale Driver for Docker machine, you'll first need Go installed (version 1.5+ is required). Make sure Go is properly installed, including setting up a GOPATH.

Run these commands to build the plugin binary:

$ go get -d github.com/vahaah/docker-machine-driver-vscale
$ cd $GOPATH/github.com/vahaah/docker-machine-driver-vscale
$ make build

After the build is complete, bin/docker-machine-driver-vscale binary will be created. If you want to copy it to the ${GOPATH}/bin/, run make install.

docker-machine-driver-vscale's People

Contributors

vahaah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

mattlk13

docker-machine-driver-vscale's Issues

Ошибка создания сервера в версии 1.1.0

После недавних изменений образа ОС перестали корректно создаваться сервера в связи с отсутствием модуля aufs. После установки вручную все работает корректно.

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.