Skip to main content

ENV_HANDOFF_INIT_CWD

Constant ENV_HANDOFF_INIT_CWD 

Source
pub const ENV_HANDOFF_INIT_CWD: &str = "MSB_HANDOFF_INIT_CWD";
Expand description

Working directory for the handoff init binary.

Docker applies WORKDIR before executing ENTRYPOINT + CMD. Init handoff uses this optional path so image-declared init entrypoints receive the same process cwd as they would under container startup.

Example:

  • MSB_HANDOFF_INIT_CWD=/opt/app