...

Text file src/github.com/opencontainers/runtime-spec/config-zos.md

Documentation: github.com/opencontainers/runtime-spec

     1_This document is a work in progress._
     2
     3# <a name="ZOSContainerConfiguration" />z/OS Container Configuration
     4
     5This document describes the schema for the [z/OS-specific section](config.md#platform-specific-configuration) of the [container configuration](config.md).
     6
     7## <a name="configZOSDevices" />Devices
     8
     9**`devices`** (array of objects, OPTIONAL) lists devices that MUST be available in the container.
    10The runtime MAY supply them however it likes.
    11
    12Each entry has the following structure:
    13
    14* **`type`** *(string, REQUIRED)* - type of device: `c`, `b`, `u` or `p`.
    15* **`path`** *(string, REQUIRED)* - full path to device inside container.
    16    If a file already exists at `path` that does not match the requested device, the runtime MUST generate an error.
    17* **`major, minor`** *(int64, REQUIRED unless `type` is `p`)* - major, minor numbers for the device.
    18* **`fileMode`** *(uint32, OPTIONAL)* - file mode for the device.
    19
    20The same `type`, `major` and `minor` SHOULD NOT be used for multiple devices.

View as plain text