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>
27
+
docker plugin set linode linode-region=<linode region>
28
+
docker plugin set linode linode-label=<linode label>
29
+
docker plugin enable linode
26
30
```
27
31
28
-
List or regions can be found at: https://api.linode.com/v4/regions
29
-
30
-
31
-
### Enable
32
+
\<linode token\>: Token must be generated usigng Linode Control Panel https://login.linode.com. The generated API Token must have Read/Write permission for Volumes and Linodes.
| linode-token | **Required** The Linode APIv4 [Personal Access Token](https://cloud.linode.com/profile/tokens)
94
95
| linode-label |**Required** The Linode Label to attach block storage volumes to (defaults to the system hostname) |
95
96
| linode-region | The Linode region to create volumes in (inferred if using linode-label, defaults to us-west) |
96
-
| socket-file | Sets the socket file/address (defaults to /run/docker/plugins/linode-driver.sock) |
97
+
| socket-file | Sets the socket file/address (defaults to /run/docker/plugins/linode.sock) |
97
98
| socket-gid | Sets the socket GID (defaults to 0) |
98
99
| mount-root | Sets the root directory for volume mounts (default /mnt) |
99
-
| log-level | Log Level (defaults to WARN) |
100
-
| log-trace | Set Tracing to true (defaults to false) |
100
+
| log-level | Sets log level to debug,info,warn,error (defaults to info) |
101
+
102
+
101
103
102
104
Options can be set once for all future uses with [`docker plugin set`](https://docs.docker.com/engine/reference/commandline/plugin_set/#extended-description).
103
105
@@ -114,15 +116,6 @@ Options can be set once for all future uses with [`docker plugin set`](https://d
114
116
docker-volume-linode --linode-token=<token from linode console> --linode-region=<linode region> --linode-label=<linode label>
115
117
```
116
118
117
-
or
118
-
119
-
```sh
120
-
export LINODE_TOKEN=<token from linode console>
121
-
export LINODE_REGION=<linode region>
122
-
export LINODE_LABEL=<linode label>
123
-
docker-volume-linode
124
-
```
125
-
126
119
### Debugging
127
120
128
121
#### Enable Debug Level on plugin
@@ -139,16 +132,6 @@ docker plugin set docker-volume-linode LOG_LEVEL=debug
0 commit comments