Code Monkey home page Code Monkey logo

docker-machine-driver-scaleway's Introduction

Archived. No maintenance. See official driver

Build Status

Docker Machine Scaleway Driver is a driver plugin for Docker machine. It allows to create Docker hosts on Scaleway servers.

Installation

Use standard Unix tools:

$ wget -O docker-machine-driver-scaleway.zip RELEASE_URL
$ unzip docker-machine-driver-scaleway.zip
$ sudo cp docker-machine-driver-scaleway /usr/bin

Usage

1. Credentials

To use the driver, you must have an organization id and API token.

Follow these steps:

2. Create a machine

These instructions assume that docker-machine and docker-machine-driver-scaleway are in your PATH.

$ docker-machine --driver scaleway \
	--scaleway-organization SCALEWAY_ORGANIZATION_ID \
	--scaleway-token SCALEWAY_API_TOKEN \
	MACHINE_NAME

P.S. Try the overlay driver for problems with aufs storage driver incompatibility in the docker installation. See for details: https://docs.docker.com/machine/reference/create/#specifying-configuration-options-for-the-created-docker-engine

3. Setting up and tests

Load environment variables to use remote machine. This step is required to connect to the Docker Engine socket of remote machine.

$ eval $(docker-machine env MACHINE_NAME)

Run test commands

$ docker pull golang
$ docker images

4. Options

Option Description Default required
--scaleway-ssh-user SSH username root no
--scaleway-ssh-port SSH port 22 no
--scaleway-organization Organization id none yes
--scaleway-token API token none yes
--scaleway-server-name Server name none no
--scaleway-commercial-type Commercial type VC1S no
--scaleway-image Image ubuntu-xenial no
--scaleway-region Region ams1 no
--scaleway-reserved-ip-id Use an existing IP adress none no
--scaleway-persistent-ip IP persistent false no
--scaleway-enable-ipv6 Enable IPv6 false no
--scaleway-volumes Add an additional volume none no
--scaleway-tags Add tags none no

Build from source

Requirements:

Install dependencies

go get -u github.com/golang/lint/golint
go get -u github.com/golang/dep/cmd/dep

Run tests

$ make test

Run build command

$ make build

Todo

  • Security groups
  • User datas

License

The MIT License (MIT) - see LICENSE for more details

docker-machine-driver-scaleway's People

Contributors

huseyin avatar

Watchers

 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.