Last active
September 29, 2021 06:52
-
-
Save akutz/0212d43ddf502aa52ccfffc866320e7f to your computer and use it in GitHub Desktop.
Skeleton Files for Creating a Docker Plug-in with REX-Ray
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Args": { | |
"Description": "", | |
"Name": "", | |
"Settable": null, | |
"Value": null | |
}, | |
"Description": "REX-Ray for DRIVER", | |
"Documentation": "https://github.com/codedellemc/rexray/.docker/plugins/DRIVER", | |
"Entrypoint": [ | |
"/rexray.sh", "rexray", "start", "-f", "--nopid" | |
], | |
"Env": [ | |
{ | |
"Description": "", | |
"Name": "REXRAY_FSTYPE", | |
"Settable": [ | |
"value" | |
], | |
"Value": "ext4" | |
}, | |
{ | |
"Description": "", | |
"Name": "REXRAY_LOGLEVEL", | |
"Settable": [ | |
"value" | |
], | |
"Value": "warn" | |
}, | |
{ | |
"Description": "", | |
"Name": "REXRAY_PREEMPT", | |
"Settable": [ | |
"value" | |
], | |
"Value": "false" | |
} | |
], | |
"Interface": { | |
"Socket": "rexray.sock", | |
"Types": [ | |
"docker.volumedriver/1.0" | |
] | |
}, | |
"Linux": { | |
"AllowAllDevices": true, | |
"Capabilities": ["CAP_SYS_ADMIN"], | |
"Devices": null | |
}, | |
"Mounts": [ | |
{ | |
"Source": "/dev", | |
"Destination": "/dev", | |
"Type": "bind", | |
"Options": ["rbind"] | |
} | |
], | |
"Network": { | |
"Type": "host" | |
}, | |
"PropagatedMount": "/var/lib/libstorage/volumes", | |
"User": {}, | |
"WorkDir": "" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment