mirror of https://github.com/docker/docs.git
Adds note about passing boolean arguments (#3268)
Adds a sentence and example on how to use boolean arguments.
This commit is contained in:
parent
4184049fbe
commit
e3a017a187
|
@ -12,6 +12,11 @@ Control Panel and pass that to `docker-machine create` with the `--digitalocean-
|
|||
## Usage
|
||||
|
||||
$ docker-machine create --driver digitalocean --digitalocean-access-token=aa9399a2175a93b17b1c86c807e08d3fc4b79876545432a629602f61cf6ccd6b test-this
|
||||
|
||||
When passing a boolean value to any option, the argument requires a slightly different format.
|
||||
|
||||
$ docker-machine create --driver digitalocean --digitalocean-access-token=aa9399a2175a93b17b1c86c807e08d3fc4b79876545432a629602f61cf6ccd6b --digitalocean-size 1gb --digitalocean-backups=true test-this
|
||||
|
||||
|
||||
## Options
|
||||
|
||||
|
@ -43,4 +48,4 @@ The DigitalOcean driver will use `ubuntu-16-04-x64` as the default image.
|
|||
| `--digitalocean-userdata` | `DIGITALOCEAN_USERDATA` | - |
|
||||
| `--digitalocean-ssh-user` | `DIGITALOCEAN_SSH_USER` | `root` |
|
||||
| `--digitalocean-ssh-port` | `DIGITALOCEAN_SSH_PORT` | 22 |
|
||||
| `--digitalocean-ssh-key-fingerprint`| `DIGITALOCEAN_SSH_KEY_FINGERPRINT`| - |
|
||||
| `--digitalocean-ssh-key-fingerprint`| `DIGITALOCEAN_SSH_KEY_FINGERPRINT`| - |
|
||||
|
|
Loading…
Reference in New Issue