Skip to content

Gandi/docker-machine-gandi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Machine driver plugin for Gandi

This plugin adds support for Gandi cloud instances to the docker-machine command line tool.

CircleCI

Installation

Requirement: Docker Machine >= 0.5.1

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 and pass that to docker-machine create with the --gandi-api-key option.

Note that Gandi's 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 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.