Mounts

Mount storage inside the container.

Mount

Properties

Enable

Enable this storage for use in the container.

  • Data type: boolean
  • Default: true
  • Configuration

CLI: (cli)> config compute container <key> mount <index> enable

Filesystem path inside container

Mount the storage at the specified path inside the container's filesystem.

  • Data type: string
  • Configuration
  • Required

CLI: (cli)> config compute container <key> mount <index> path

File or directorty path on host

Mount the file or directory at the specified path inside the container's filesystem.

  • Data type: string
  • Configuration
  • Required

CLI: (cli)> config compute container <key> mount <index> file

Filesystem

The filesystem to mount.

  • Data type: reference path
  • References instances of: Storage / Filesystems
  • Configuration
  • Required

CLI: (cli)> config compute container <key> mount <index> filesystem

Read only

Mount the filesystem read only.

  • Data type: boolean
  • Default: false
  • Configuration

CLI: (cli)> config compute container <key> mount <index> read-only