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
Copy file name to clipboardExpand all lines: docs/get-started-cloud.md
+25-14Lines changed: 25 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,21 +11,21 @@ weight=2
11
11
12
12
## Using Docker Machine with a cloud provider
13
13
14
-
Creating a local virtual machine running Docker is useful and fun, but it is not
15
-
the only thing Docker Machine is capable of. Docker Machine supports several
14
+
Creating a local virtual machine running Docker is useful and fun, but it isn't the only thing Docker Machine can do. Docker Machine supports several
16
15
“drivers” which let you use the same interface to create hosts on many different
17
-
cloud or local virtualization platforms. This is accomplished by using the
18
-
`docker-machine create` command with the `--driver` flag. Here we will be
19
-
demonstrating the [Digital Ocean](https://digitalocean.com) driver (called
20
-
`digitalocean`), but there are drivers included for several providers including
16
+
cloud or local virtualization platforms.
17
+
18
+
To provision hosts, you use the
19
+
`docker-machine create` command with the `--driver` flag. Here is example of using the [Digital Ocean](https://digitalocean.com) driver (`digitalocean`) to provision a host on that platform, but there are drivers included for several providers including
21
20
Amazon Web Services, Google Compute Engine, and Microsoft Azure.
22
21
23
-
Usually it is required that you pass account verification credentials for these
24
-
providers as flags to `docker-machine create`. These flags are unique for each
22
+
Typically, you provide account verification and security credentials for these providers as flags to `docker-machine create`. These flags are unique for each
25
23
driver. For instance, to pass a Digital Ocean access token you use the
26
24
`--digitalocean-access-token` flag.
27
25
28
-
Let's take a look at how to do this.
26
+
Let's take a look at how to do this on Digital Ocean.
27
+
28
+
## Digital Ocean example
29
29
30
30
To generate your access token:
31
31
@@ -70,8 +70,7 @@ created, we can use the subshell method again:
70
70
71
71
$ eval "$(docker-machine env staging)"
72
72
73
-
From this point, the remote host behaves much like the local host we created in
74
-
the last section. If we look at `docker-machine ls`, we'll see it is now the
73
+
From this point, the remote host behaves much like the local host we created in the last section. If we look at `docker-machine ls`, we'll see it is now the
75
74
"active" host, indicated by an asterisk (`*`) in that column:
76
75
77
76
$ docker-machine ls
@@ -90,11 +89,23 @@ To remove a host and all of its containers and images, use `docker-machine rm`:
90
89
$ docker-machine ls
91
90
NAME ACTIVE DRIVER STATE URL
92
91
92
+
### Docker supported drivers
93
+
94
+
Docker Machine drivers are available for several other cloud providers. For a full list, see [Supported Drivers](https://docs.docker.com/machine/drivers/).
*[Driver options and operating system defaults](https://docs.docker.com/machine/drivers/os-base/)
100
+
101
+
### 3rd-party driver plugins
102
+
Several Docker Machine driver plugins for use with other cloud platforms are available from 3rd party contributors. These are use-at-your-own-risk plugins, not maintained by or formally associated with Docker.
103
+
104
+
See [Available driver plugins](https://github.com/docker/machine/blob/master/docs/AVAILABLE_DRIVER_PLUGINS.md) in the docker/machine repo on GitHub.
105
+
93
106
## Adding a host without a driver
94
107
95
-
You can add a host to Docker which only has a URL and no driver. Therefore it
96
-
can be used an alias for an existing host so you don’t have to type out the URL
97
-
every time you run a Docker command.
108
+
You can add a host to Docker which only has a URL and no driver. Therefore it can be used an alias for an existing host so you don’t have to type out the URL every time you run a Docker command.
0 commit comments