# Create your first OVH Cloud Docker machine
docker-machine create -d ovh hello-docker
OVH Cloud Driver is based on OpenStack driver. To use it, you need a cloud project. If you don't have one yet, you may create one from your OVH control panel at any time.
The easiest way to install ovh docker-machine driver is to:
go install github.com/yadutaf/docker-machine-driver-ovh
- Login to your /Cloud control panel: https://www.ovh.com/manager/cloud/index.html
- Select "Project management and resource usage", from the top right corner
- Select the OpenStack tab
- If you need one, select "Add user"
- Click on wrench icon, on the right
- Select "Download an OpenStack configuration file"
source openrc.sh
# And type your OpenStack account password (You may regenerate it at any time from the console)
docker-machine create -d ovh node-1
Option Name | Description | Default Value | required |
---|---|---|---|
--ovh-username or $OS_USERNAME |
OpenStack user name | none | yes |
--ovh-password or $OS_PASSWORD |
OpenStack user password | none | yes |
--ovh-tenant-name or $OS_TENANT_NAME |
OpenStack project name | none | yes |
--ovh-tenant-id or $OS_TENANT_ID |
OpenStack project id | none | yes |
--ovh-region or OS_REGION_NAME |
OpenStack region | GRA1 | no |
--ovh-flavor or OS_FLAVOR_NAME |
Machine type | vps-ssd-1 | no |
--ovh-sec-groups or $OS_SECURITY_GROUPS |
Comma separated list of sec-groups | default | no |
Note: All "OpenStack" parameters come from openrc.sh
. It is highly
recommended to use this file to simplify docker-machine creation.
Each environment variable may be overloaded by its option equivalent at runtime.
go get github.com/yadutaf/docker-machine-driver-ovh
cd $GOPATH/src/github.com/yadutaf/docker-machine-driver-ovh
To test the driver make sure your current build directory has the highest
priority in your $PATH
so that docker-machine can find it.
export PATH=$GOPATH/src/github.com/yadutaf/docker-machine-driver-ovh:$PATH
- OVH Cloud console: https://www.ovh.com/manager/cloud/index.html
- OVH Cloud offers: https://www.ovh.com/us/cloud/
- Docker Machine: https://docs.docker.com/machine/
- Contribute: https://github.com/yadutaf/docker-machine-driver-ovh
- Report bugs: https://github.com/yadutaf/docker-machine-driver-ovh/issues
MIT