config.json 784 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "description": "iSCSI plugin for Docker",
  3. "interface": {
  4. "socket": "volume-iscsi.sock",
  5. "types": [
  6. "docker.volumedriver/1.0"
  7. ]
  8. },
  9. "entrypoint": [ "/docker-volume-iscsi" ],
  10. "network": {
  11. "type": "host"
  12. },
  13. "linux": {
  14. "capabilities": [
  15. "CAP_SYS_ADMIN"
  16. ],
  17. "allowAllDevices": true
  18. },
  19. "mounts": [
  20. {
  21. "type": "bind",
  22. "source": "/var/lib/docker/plugins",
  23. "destination": "/var/lib/docker/plugins",
  24. "options": ["rbind"]
  25. },
  26. {
  27. "type": "bind",
  28. "source": "/",
  29. "destination": "/host",
  30. "options": ["rbind"]
  31. },
  32. {
  33. "type": "bind",
  34. "source": "/dev",
  35. "destination": "/dev",
  36. "options": ["rbind"]
  37. }
  38. ],
  39. "propagatedmount": "/var/lib/docker/volumes"
  40. }