Host Volume overview

Host Volume Example on MESOS Container (UCR)

  "container": {
    "portMappings": [],
    "type": "MESOS",
    "volumes": [
      {
        "containerPath": "root",
        "hostPath": "/home/centos",
        "mode": "RW"
      }
    ]
  },
  • Creates a volume defined on the host at path /home/centos.
  • The volume is accessible within the container using the path /root. When using You can also examine the file directly on the host through the path /home/centis.
  • Risk of overwriting files from other processes which may link to the same 'hostPath'.
  • Focus on using the local Host Volume for Read only files. If taking this path, you need to make certain that the file is loaded into each node first.

results matching ""

    No results matching ""