Skip to content

Instantly share code, notes, and snippets.

@akutz
Last active September 29, 2021 06:52
Show Gist options
  • Save akutz/0212d43ddf502aa52ccfffc866320e7f to your computer and use it in GitHub Desktop.
Save akutz/0212d43ddf502aa52ccfffc866320e7f to your computer and use it in GitHub Desktop.
Skeleton Files for Creating a Docker Plug-in with REX-Ray

REX-Ray Docker Plug-in for DRIVER

{
"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