Rackspace

Estimated reading time: 1 minute

Create machines on Rackspace cloud

Usage

$ docker-machine create --driver rackspace --rackspace-username=user --rackspace-api-key=KEY --rackspace-region=region vm

Options

  • --rackspace-active-timeout: Rackspace active timeout
  • --rackspace-api-key: required Rackspace API key.
  • --rackspace-docker-install: Set if Docker has to be installed on the machine.
  • --rackspace-endpoint-type: Rackspace endpoint type (adminURL, internalURL or the default publicURL).
  • --rackspace-flavor-id: Rackspace flavor ID. Default: General Purpose 1GB.
  • --rackspace-image-id: Rackspace image ID. Default: Ubuntu 16.04 LTS (Xenial Xerus) (PVHVM).
  • --rackspace-region: required Rackspace region name.
  • --rackspace-ssh-port: SSH port for the newly booted machine.
  • --rackspace-ssh-user: SSH user for the newly booted machine.
  • --rackspace-username: required Rackspace account username.

The Rackspace driver will use 821ba5f4-712d-4ec8-9c65-a3fa4bc500f9 (Ubuntu 16.04 LTS) by default.

Environment variables and default values

CLI optionEnvironment variableDefault
--rackspace-active-timeoutOS_ACTIVE_TIMEOUT300
--rackspace-api-keyOS_API_KEY-
--rackspace-docker-install-true
--rackspace-endpoint-typeOS_ENDPOINT_TYPEpublicURL
--rackspace-flavor-idOS_FLAVOR_IDgeneral1-1
--rackspace-image-idOS_IMAGE_ID821ba5f4-712d-4ec8-9c65-a3fa4bc500f9
--rackspace-regionOS_REGION_NAMEIAD (Northern Virginia)
--rackspace-ssh-portOS_SSH_PORT22
--rackspace-ssh-userOS_SSH_USERroot
--rackspace-usernameOS_USERNAME-
machine, Rackspace, driver