An open API service indexing awesome lists of open source software.

https://github.com/gandi/docker-machine-gandi

Docker machine driver for Gandi platform
https://github.com/gandi/docker-machine-gandi

Last synced: about 1 year ago
JSON representation

Docker machine driver for Gandi platform

Awesome Lists containing this project

README

          

# Docker Machine driver plugin for Gandi

This plugin adds support for [Gandi](https://www.gandi.net/) cloud instances to the `docker-machine` command line tool.

[![CircleCI](https://img.shields.io/circleci/project/Gandi/docker-machine-gandi.svg)](https://circleci.com/gh/Gandi/docker-machine-gandi/)

## Installation

Requirement: [Docker Machine >= 0.5.1](https://github.com/docker/machine)

Download the `docker-machine-driver-gandi` binary from the release page.
Extract the archive and copy the binary to a folder located in your `PATH` and make sure it's executable (e.g. `chmod +x /usr/local/bin/docker-machine-driver-gandi`).

## Usage instructions

Grab your API key from the [Gandi admin](https://www.gandi.net/admin/api_key) and pass that to `docker-machine create` with the `--gandi-api-key` option.

Note that Gandi's [HVM](https://wiki.gandi.net/en/iaas/references/server/hvm) platform boots your servers with Linux kernel 3.18 by default, so you should choose the ``overlay`` storage driver instead of ``aufs``. You can also [create custom images](https://wiki.gandi.net/en/iaas/references/images) and boot with the kernel of your choice.

Example with the default Ubuntu 14.04 LTS image with the ``overlay`` storage driver:

docker-machine create --engine-storage-driver overlay \
--driver gandi \
--gandi-api-key=abc123 \
ubuntu-machine

Command line flags:

- `--gandi-api-key`: **required** Your Gandi API key.
- `--gandi-image`: Image to use to create machine, default Ubuntu 14.04 64 bits LTS (HVM).
- `--gandi-datacenter`: Datacenter where machine will be created, default Bissen.
- `--gandi-memory`: machine memory size in MB, default 512.
- `--gandi-core`: Number of cores for the machine, default 1.
- `--gandi-url`: url to connect to.