thecodeteam / roadmap

The {code} Team Roadmap
3 stars 1 forks source link

Prototype Docker Machine configuring Volume Drivers #6

Closed clintkitson closed 9 years ago

clintkitson commented 9 years ago

Tied to https://github.com/emccode/roadmap/issues/7

clintkitson commented 9 years ago

Kenny to update with prototype example and code shortly

kacole2 commented 9 years ago

code it located here: https://github.com/kacole2/machine/tree/extensions

example of rex.json

{
    "rexray": {
        "AWS_SECRET_KEY": "mykey",
        "AWS_SHARED_KEY": "mysecretkey"
    },
    "weave": {
        "IP1": "192.168.23.1",
        "sumthing": "its a sumthin sumthin"
    }
}

the command will look something like this:

./docker-machine_darwin-amd64 -D create -d virtualbox --extension /Users/kcoleman/Desktop/rex.json funwithextensions