Docker Community Forums

Share and learn in the Docker community.

Docker-machine create example for Rackspace fails

docker

(Patakijv) #1

Docs URL: https://docs.docker.com/machine/drivers/rackspace

I’ve tried using this example providing username, api-key, and region and it fails

docker-machine create --driver rackspace --rackspace-username=XXXXXXXX --rackspace-api-key=XXXXXXXX --rackspace-region=DFW test-docker2

Running pre-create checks...
Creating machine...
(test-docker2) Creating machine...
Error creating machine: Error in driver during machine creation: Expected HTTP response code [201 202] when accessing [POST https://dfw.servers.api.rackspacecloud.com/v2/XXXXXXX/servers], but got 403 instead
403 Forbidden

Access was denied to this resource.

 Exactly 1 isolated network(s) must be attached  

The username I am using has full product access.

Any ideas here?