Skip to content

Instantly share code, notes, and snippets.

@chadrien
Created April 16, 2015 15:55
Show Gist options
  • Save chadrien/014ad6d8326cdb7957a3 to your computer and use it in GitHub Desktop.
Save chadrien/014ad6d8326cdb7957a3 to your computer and use it in GitHub Desktop.
config.json file for Docker Machine on RunAbove

How to use

  • Copy to $HOME/.docker/machine/machines/{{machine_name}}/config.json
  • Set values for the following fields:
    • Username
    • Password
    • TenantName
    • TenantId
    • Region
    • MachineName
    • MachineId
    • FlavourName
    • ImageName
    • NetworkName
    • Ip
  • Replace $HOME with the realpath or your $HOME
  • ???
  • PROFIT!
{
"DriverName":"openstack",
"Driver": {
"AuthUrl":"https://auth.runabove.io/v2.0",
"Insecure":false,
"Username":"",
"Password":"",
"TenantName":"",
"TenantId":"",
"Region":"",
"EndpointType":"",
"MachineName":"",
"MachineId":"",
"FlavorName":"",
"FlavorId":"",
"ImageName":"",
"ImageId":"",
"KeyPairName":"",
"NetworkName":"",
"NetworkId":"",
"SecurityGroups":null,
"FloatingIpPool":"",
"FloatingIpPoolId":"",
"SSHUser":"admin",
"SSHPort":22,
"Ip":"",
"CaCertPath":"$HOME/.docker/machine/certs/ca.pem",
"PrivateKeyPath":"$HOME/.docker/machine/certs/ca-key.pem",
"SwarmMaster":false,
"SwarmHost":"tcp://0.0.0.0:3376",
"SwarmDiscovery":""
},
"CaCertPath":"$HOME/.docker/machine/certs/ca.pem",
"ServerCertPath":"",
"ServerKeyPath":"",
"PrivateKeyPath":"$HOME/.docker/machine/certs/ca-key.pem",
"ClientCertPath":"",
"SwarmMaster":false,
"SwarmHost":"tcp://0.0.0.0:3376",
"SwarmDiscovery":""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment