Machine creates Docker hosts that are secure by default. The connection between the client and daemon is encrypted and authenticated using TLS security. To get the Docker arguments for a machine use the command: `machine config <machine-name>` i.e. `machine config dev`.
Machine creates Docker hosts that are secure by default. The connection between the client and daemon is encrypted and authenticated using TLS security. To get the Docker arguments for a machine use the command: `docker-machine config <machine-name>` i.e. `docker-machine config dev`.
##Try it out
@ -58,7 +58,7 @@ Options:
###Digital Ocean
Creates machines on [Digital Ocean](https://www.digitalocean.com/). You need to create a personal access token under "Apps & API" in the Digital Ocean Control Panel and pass that to `machine create` with the `--digitalocean-access-token` option.
Creates machines on [Digital Ocean](https://www.digitalocean.com/). You need to create a personal access token under "Apps & API" in the Digital Ocean Control Panel and pass that to `docker-machine create` with the `--digitalocean-access-token` option.
Options:
@ -79,9 +79,9 @@ You need to create a subscription with a cert. Run these commands:
Go to the Azure portal, go to the "Settings" page, then "Manage Certificates" and upload `mycert.cer`.
Grab your subscription ID from the portal, then run `machine create` with these details:
Grab your subscription ID from the portal, then run `docker-machine create` with these details:
@ -19,6 +19,6 @@ There are two main areas for future development:
- **Swarm integration:** Machine should be able to create and manage [Swarm](https://github.com/docker/swarm) clusters. Perhaps it's even the default. Imagine this:
$ machine create -d digitalocean production
$ machine scale production=100
$ docker-machine create -d digitalocean production
INFO[0038] "dev" has been created and is now the active machine. To point Docker at this machine, run: export DOCKER_HOST=$(machine url) DOCKER_AUTH=identity
INFO[0038] "dev" has been created and is now the active machine. To point Docker at this machine, run: export DOCKER_HOST=$(docker-machine url) DOCKER_AUTH=identity
```
#### config
@ -287,7 +287,7 @@ INFO[0038] "dev" has been created and is now the active machine. To point Docker
Show the Docker client configuration for a machine.
@ -418,11 +418,11 @@ INFO[0005] Waiting for VM to start...
Gracefully stop a machine.
```
$ machine ls
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL
dev * virtualbox Running tcp://192.168.99.104:2376
$ machine stop dev
$ machine ls
$ docker-machine stop dev
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL
dev * virtualbox Stopped
```
@ -432,7 +432,7 @@ dev * virtualbox Stopped
Upgrade a machine to the latest version of Docker.
```
$ machine upgrade dev
$ docker-machine upgrade dev
```
#### url
@ -440,7 +440,7 @@ $ machine upgrade dev
Get the URL of a host
```
$ machine url
$ docker-machine url
tcp://192.168.99.109:2376
```
@ -465,7 +465,7 @@ Options:
- `--amazonec2-zone`: The AWS zone launch the instance in (i.e. one of a,b,c,d,e).
#### Digital Ocean
Creates machines on [Digital Ocean](https://www.digitalocean.com/). You need to create a personal access token under "Apps & API" in the Digital Ocean Control Panel and pass that to `machine create` with the `--digitalocean-access-token` option.
Creates machines on [Digital Ocean](https://www.digitalocean.com/). You need to create a personal access token under "Apps & API" in the Digital Ocean Control Panel and pass that to `docker-machine create` with the `--digitalocean-access-token` option.
Options:
@ -521,9 +521,9 @@ You need to create a subscription with a cert. Run these commands:
Go to the Azure portal, go to the "Settings" page, then "Manage Certificates" and upload `mycert.cer`.
Grab your subscription ID from the portal, then run `machine create` with these details:
Grab your subscription ID from the portal, then run `docker-machine create` with these details: