Class Volume (3.27.0)

Volume(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.

Attributes

Name Description
name str
Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
path str
Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.