|
@ -1,17 +1,24 @@ |
|
|
[![Build Status](https://travis-ci.org/xenserver/docker-machine-driver-xenserver.svg?branch=master)](https://travis-ci.org/xenserver/docker-machine-driver-xenserver) |
|
|
[![Build Status](https://travis-ci.org/xenserver/docker-machine-driver-xenserver.svg?branch=master)](https://travis-ci.org/xenserver/docker-machine-driver-xenserver) |
|
|
|
|
|
|
|
|
# docker-machine-driver-xenserver |
|
|
# docker-machine-driver-xenserver |
|
|
This is the XenServer driver plugin for Docker Machine. It allows the orchestration of machines on Citrix XenServer. |
|
|
This is the XenServer driver plugin for Docker Machine. It allows the |
|
|
|
|
|
orchestration of machines on Citrix XenServer. |
|
|
|
|
|
|
|
|
# Installation |
|
|
# Installation from source |
|
|
Following the installation of Docker Machine, you can install the docker-machine-xenserver-driver: |
|
|
Following the installation of Golang and Docker Machine, you can install the |
|
|
|
|
|
docker-machine-xenserver-driver: |
|
|
```bash |
|
|
```bash |
|
|
got get github.com/xenserver/docker-machine-driver-xenserver |
|
|
go install github.com/xenserver/docker-machine-driver-xenserver |
|
|
cd $GOPATH/src/github.com/xenserver/docker-machine-driver-xenserver/bin |
|
|
|
|
|
make |
|
|
|
|
|
mv docker-machine-driver-xenserver $GOPATH/bin/ |
|
|
|
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
# Usage |
|
|
|
|
|
The usual Docker Machine commands apply: |
|
|
|
|
|
```bash |
|
|
|
|
|
docker-machine create -d xenserver --xenserver-server myip --xenserver-username myusername --xenserver-password mypassword mynewmmachine |
|
|
|
|
|
docker-machine env mynewmmachine |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# CLI Options: |
|
|
# CLI Options: |
|
|
|
|
|
|
|
|
- `--xenserver-vcpu-count`: vCPU number for docker VM. |
|
|
- `--xenserver-vcpu-count`: vCPU number for docker VM. |
|
|