-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathconfig.json
40 lines (40 loc) · 1.08 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
{
"Description": "BTRFS Volume Plugin for Docker",
"Documentation": "https://github.com/ccomb/buttervolume/",
"Entrypoint": ["/entrypoint.sh", "run"],
"Mounts": [
{"Type": "bind",
"Source": "/var/lib/buttervolume",
"Destination": "/var/lib/buttervolume",
"Options": ["rbind"]},
{"Type": "bind",
"Source": "/var/lib/buttervolume/config",
"Destination": "/etc/buttervolume",
"Options": ["rbind"]},
{"Type": "bind",
"Source": "/var/lib/buttervolume/ssh",
"Destination": "/root/.ssh",
"Options": ["rbind"]}
],
"PropagatedMount": "/var/lib/buttervolume",
"Network": {
"Type": "host"
},
"Interface" : {
"Types": ["docker.volumedriver/1.0"],
"Socket": "btrfs.sock"
},
"Linux": {
"Capabilities": ["CAP_SYS_ADMIN"]
},
"Env": [
{
"Name": "SSH_PORT",
"Description": "SSH Port",
"Settable": [
"value"
],
"Value": "1122"
}
]
}