DaemonVolume¶
Structure Class¶
DaemonVolume
dataclass
¶
Bases: _SerdeShape
A data volume definition for a daemon task.
Attributes¶
host
class-attribute
instance-attribute
¶
host: HostVolumeProperties | None = ...
The contents of the host parameter determine whether your bind mount
host volume persists on the host container instance and where it's
stored.
log_driver_volume_configuration
class-attribute
instance-attribute
¶
log_driver_volume_configuration: LogDriverVolumeConfiguration | None = ...
The log driver volume configuration. With a log driver volume, the
containers in a daemon task can read the log files that a log driver
writes for the other tasks on the container instance. To read the log
files, mount the volume into a container in the daemon task with
mountPoints.
Use host to bind mount a path on the container instance. Use
logDriverVolumeConfiguration to read the log output of other tasks.
You can't specify both for the same volume.