You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Go tools](https://golang.org/doc/install) (only for installation from sources)
11
+
* HyperOne account & access to *Project*
12
+
13
+
## Installation
14
+
15
+
### Go tools
10
16
```shell
11
17
# install latest (git) version of docker-machine-driver-hyperone in your $GOPATH/bin (depends on Golang and docker-machine)
12
18
$ go get -u github.com/hyperonecom/docker-machine-driver-hyperone
13
19
```
14
20
15
-
### Binary
21
+
### pre-compiled binaries
16
22
17
-
You can find sources and pre-compiled binaries [here](https://github.com/hyperonecom/docker-machine-driver-hyperone/releases/latest)
23
+
You can find sources and pre-compiled binaries on the "[Releases](https://github.com/hyperonecom/docker-machine-driver-hyperone/releases/latest)" page.
24
+
25
+
Download the binary (this example downloads the binary for darwin amd64):
18
26
19
27
```shell
20
-
# Download the binary (this example downloads the binary for darwin amd64)
Official documentation for Docker Machine is available on [website](https://docs.docker.com/machine/).
42
+
43
+
To create a HyperOne Virtual Machine for Docker purposes just run this command:
44
+
45
+
```shell
46
+
$ docker-machine create --driver hyperone --hyperone-token TOKEN --hyperone-project PROJECT vm
47
+
Running pre-create checks...
48
+
Creating machine...
49
+
(vm) Creating HyperOne VM...
50
+
Waiting for machine to be running, this may take a few minutes...
51
+
Detecting operating system of created instance...
52
+
Waiting for SSH to be available...
53
+
Detecting the provisioner...
54
+
Provisioning with debian...
55
+
Copying certs to the local machine directory...
56
+
Copying certs to the remote machine...
57
+
Setting Docker configuration on the remote daemon...
58
+
Checking connection to Docker...
59
+
Docker is up and running!
60
+
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env vm
61
+
```
62
+
63
+
Available options:
64
+
32
65
```shell
33
66
$ docker-machine create -d hyperone -h
34
67
Usage: docker-machine create [OPTIONS] [arg...]
@@ -39,7 +72,7 @@ Description:
39
72
Run 'docker-machine create --driver name --help' to include the create flags forthat driverin the help text.
40
73
41
74
Options:
42
-
75
+
43
76
--driver, -d "virtualbox" Driver to create machine with. [$MACHINE_DRIVER]
44
77
--engine-env [--engine-env option --engine-env option] Specify environment variables to setin the engine
45
78
--engine-insecure-registry [--engine-insecure-registry option --engine-insecure-registry option] Specify insecure registries to allow with the created engine
@@ -69,22 +102,27 @@ Options:
69
102
--tls-san [--tls-san option --tls-san option] Support extra SANs for TLS certs
70
103
```
71
104
72
-
### 2. Create your machine
105
+
## Development
106
+
107
+
### Build from source
108
+
109
+
If you wish to work on this driver, you will first need Go installed. Make sure Go is properly installed, including setting up a [GOPATH](https://golang.org/doc/code.html#GOPATH).
110
+
111
+
Clone the repository:
73
112
74
113
```shell
75
-
$ docker-machine create --driver hyperone --hyperone-token TOKEN --hyperone-project PROJECT vm
76
-
Running pre-create checks...
77
-
Creating machine...
78
-
(vm) Creating HyperOne VM...
79
-
Waiting for machine to be running, this may take a few minutes...
80
-
Detecting operating system of created instance...
81
-
Waiting for SSH to be available...
82
-
Detecting the provisioner...
83
-
Provisioning with debian...
84
-
Copying certs to the local machine directory...
85
-
Copying certs to the remote machine...
86
-
Setting Docker configuration on the remote daemon...
87
-
Checking connection to Docker...
88
-
Docker is up and running!
89
-
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env vm
0 commit comments