Rancher supports provisioning Rackspace hosts using docker machine
.
In order to launch a Rackspace host, you’ll need your API Key provided by Rackspace. Log in to your Rackspace account.
Navigate to the Account Settings.
In the Login Details section, there is an API Key. Click on Show to reveal the API Key. Copy the key to use in Rancher.
Now that we’ve found our API Key, we are ready to launch our Rackspace host(s). Under the Infrastructure -> Hosts tab, click Add Host. Select the Rackspace icon.
docker-machine create
command with Docker engine options.Once you click on create, Rancher will create the Rackspace server and launch the rancher-agent container in the server. In a couple of minutes, the host will be active and available for services.