container/state-dir¶
--state-dir argument passed to the container's entrypoint by the generic containerStart action.
A directory path passed to the container's own entrypoint as a
--state-dir <value> argument, appended after the image and
container/command on the container create command line.
This is a runner flag, not a container-engine flag: it is only meaningful
when container/entrypoint understands --state-dir, which the default
/usr/bin/drpcli entrypoint does. It gives the runner process inside the
container a path (typically under a mounted volume from container/volumes)
to persist its own state across restarts of the container.
The default is empty, in which case no --state-dir argument is added.
Objects that Reference container/state-dir¶
Not used in current content packs
Objects used by container/state-dir¶
Not used in current content packs