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
docker plugin set linode linode-token=<linode token>
31
-
docker plugin set linode linode-region=<linode region>
32
31
docker plugin set linode linode-label=<linode label>
33
32
docker plugin enable linode
34
33
```
35
34
36
35
-\<linode token\>: You will need a Linode APIv4 Personal Access Token. Get one here: <https://developers.linode.com/api/v4#section/Personal-Access-Token>. The API Token must have Read/Write permission for Volumes and Linodes.
37
-
-\<linode regions\>: `us-east`, `us-central`, `us-west`, `eu-west`, `eu-central`, `ap-south`, `ap-northeast`. [Some Linode regions do not have Block Storage Volume support](https://www.linode.com/community/questions/344/when-will-block-storage-be-available-in-my-datacenter), such as: `us-southeast` and `ap-northeast-1a`.
38
-
-\<linode label\>: The label given to the host Linode Control Panel.
39
-
- For a complete list of regions: https://api.linode.com/v4/regions
40
-
- For all options see "Driver Options" section
36
+
-\<linode label\>: The label given to the host Linode Control Panel. Defaults to the system hostname.
37
+
[Some Linode regions do not have Block Storage Volume support](https://www.linode.com/community/questions/344/when-will-block-storage-be-available-in-my-datacenter), such as: `us-southeast` and `ap-northeast-1a`. For a complete list of regions: https://api.linode.com/v4/regions
38
+
- For all options see [Driver Options](#Driver-Options) section
If a named volume already exists on the Linode account and it is in the same region of the Linode, it will be reattached if possible. A Linode Volume can be attached to a single Linode at a time.
58
+
59
59
#### Create Options
60
60
61
-
This driver offers `size` as [driver specific option](https://docs.docker.com/engine/reference/commandline/volume_create/#driver-specific-options). The `size` option specifies the size (in GB) of the volume to be created. Volumes must be at least 10GB in size, so the default is 10GB.
61
+
The driver offers [driver specific volume create options](https://docs.docker.com/engine/reference/commandline/volume_create/#driver-specific-options):
62
+
63
+
| Option | Type | Default | Description |
64
+
| --- | --- | --- | --- |
65
+
| `size` | int | `10` | the size (in GB) of the volume to be created. Volumes must be at least 10GB in size, so the default is 10GB.
66
+
| `filesystem` | string | `ext4` | the filesystem argument for `mkfs` when formating the new (raw) volume (xfs, btrfs, ext4)
67
+
| `delete-on-remove` | bool | `false`| if the Linode volume should be deleted when removed
0 commit comments