8000 Update Digital Ocean docs based on the changes in https://github.com/… · unlaudable/docker.github.io@959f34e · GitHub
[go: up one dir, main page]

Skip to content

Commit 959f34e

Browse files
v4nMisty Stanley-Jones
authored andcommitted
Update Digital Ocean docs based on the changes in docker-archive-public/docker.machine@50cc9e5
1 parent 9b0d3c2 commit 959f34e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

machine/drivers/digital-ocean.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ Control Panel and pass that to `docker-machine create` with the `--digitalocean-
1212
## Usage
1313

1414
$ docker-machine create --driver digitalocean --digitalocean-access-token=aa9399a2175a93b17b1c86c807e08d3fc4b79876545432a629602f61cf6ccd6b test-this
15-
16-
### When explicitly passing environment variables
17-
15+
16+
### When explicitly passing environment variables
17+
1818
export DIGITALOCEAN_ACCESS_TOKEN="yourtoken"; export DIGITALOCEAN_SSH_KEY_FINGERPRINT="from your DO's profile security-ssh keys"; \ export DIGITALOCEAN_IMAGE="centos-7-x64"; export DIGITALOCEAN_REGION="tor1"
19-
19+
2020
$ docker-machine create --driver digitalocean --digitalocean-access-token $DIGITALOCEAN_ACCESS_TOKEN --digitalocean-ssh-key-fingerprint $DIGITALOCEAN_SSH_KEY_FINGERPRINT --digitalocean-image $DIGITALOCEAN_IMAGE --digitalocean-region $DIGITALOCEAN_REGION
21-
21+
2222
### When passing a boolean value to any option
2323

2424
$ docker-machine create --driver digitalocean --digitalocean-access-token=aa9399a2175a93b17b1c86c807e08d3fc4b79876545432a629602f61cf6ccd6b --digitalocean-size 1gb --digitalocean-backups=true test-this
25-
25+
2626

2727
## Options
2828

@@ -37,7 +37,7 @@ Control Panel and pass that to `docker-machine create` with the `--digitalocean-
3737
- `--digitalocean-ssh-user`: SSH username.
3838
- `--digitalocean-ssh-port`: SSH port.
3939
- `--digitalocean-ssh-key-fingerprint`: Use an existing SSH key instead of creating a new one, see [SSH keys](https://developers.digitalocean.com/documentation/v2/#ssh-keys).
40-
- `--digitalocean-tags`: Comma-separated list of tags to apply to the Droplet, see [Droplet tagging](https://developers.digitalocean.com/documentation/v2/#tags)
40+
- `--digitalocean-ssh-key-path`: Path to private SSH key. `--digitalocean-ssh-key-fingerprint` must be provided with this option.
4141

4242
The DigitalOcean driver will use `ubuntu-16-04-x64` as the default image.
4343

0 commit comments

Comments
 (0)
0