forked from wetopi/docker-volume-rbd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
111 lines (111 loc) · 2 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"description": "RBD plugin for Docker",
"documentation": "https://github.com/vpaprots/docker-volume-rbd",
"entrypoint": [
"/docker-volume-rbd"
],
"env": [
{
"name": "PLUGIN_VERSION",
"Description": "Current version of RBD plugin for Docker Plugin",
"settable": [
"value"
],
"value": "4.0.0"
},
{
"name": "LOG_LEVEL",
"Description": "[0:ErrorLevel; 1:WarnLevel; 2:InfoLevel; 3:DebugLevel] defaults to 0",
"settable": [
"value"
],
"value": "0"
},
{
"name": "RBD_CONF_DEVICE_MAP_ROOT",
"settable": [
"value"
]
},
{
"name": "RBD_CONF_POOL",
"settable": [
"value"
]
},
{
"name": "RBD_CONF_CLUSTER",
"settable": [
"value"
]
},
{
"name": "RBD_CONF_KEYRING_USER",
"settable": [
"value"
]
},
{
"name": "MOUNT_OPTIONS",
"Description": "Options to pass to the mount command",
"settable": [
"value"
],
"value": "--options=noatime"
}
],
"interface": {
"socket": "rbd.sock",
"types": [
"docker.volumedriver/1.0"
]
},
"linux": {
"AllowAllDevices": true,
"capabilities": [
"CAP_NET_ADMIN",
"CAP_SYS_ADMIN",
"CAP_SYS_MODULE"
],
"devices": null
},
"mounts": [
{
"source": "/lib/modules",
"destination": "/lib/modules",
"type": "bind",
"options": [
"rbind"
]
},
{
"source": "/dev",
"destination": "/dev",
"type": "bind",
"options": [
"shared",
"rbind"
]
},
{
"source": "/etc/ceph",
"destination": "/etc/ceph",
"type": "bind",
"options": [
"rbind"
]
},
{
"source": "/sys",
"destination": "/sys",
"type": "bind",
"options": [
"rbind"
]
}
],
"network": {
"type": "host"
},
"propagatedmount": "/mnt/volumes"
}