Added build script and fixed some bugs

This commit is contained in:
ndouba
2022-11-15 22:32:24 -05:00
parent 8f19249c51
commit 9cc4b28a49
9 changed files with 317 additions and 12 deletions

72
config.json Normal file
View File

@@ -0,0 +1,72 @@
{
"Args": {
"Description": "",
"Name": "",
"Settable": null,
"Value": null
},
"Description": "A device mapping plugin for swarm clusters",
"Documentation": "https://docs.docker.com/engine/extend/plugins/",
"Entrypoint": [
"/dvd"
],
"Env": [
{
"Description": "",
"Name": "DEBUG",
"Settable": [
"value"
],
"Value": "0"
}
],
"Interface": {
"Socket": "dvd.sock",
"Types": [
"docker.volumedriver/1.0"
]
},
"Linux": {
"Capabilities": [
"CAP_SYS_ADMIN"
],
"AllowAllDevices": true,
"Devices": null
},
"Mounts": [
{
"source": "/sys/fs/cgroup",
"destination": "/sys/fs/cgroup",
"options": [
"bind",
"rw"
],
"type": "cgroup"
},
{
"destination": "/dev",
"source": "/dev",
"options": [
"bind",
"rw"
],
"type": "bind"
},
{
"destination": "/var/run/docker.sock",
"source": "/var/run/docker.sock",
"options": [
"bind",
"ro",
"private"
],
"type": "bind"
}
],
"Network": {
"Type": ""
},
"PropagatedMount": "/dev",
"User": {},
"Workdir": "/"
}