Skip to content

context/startup-options

Extra startup flags for the container runtime for this context.

Extra flags passed to the container runtime when a context container is created for this machine.

A direct array of strings must be passed. For example, to pass --network host --memory 512m, set the value to ["--network", "host", "--memory", "512m"].

These flags are applied after any set via the older docker-context/startup-options Param, and before the host-level options an operator sets on the docker-context plugin object itself. Host-level options are applied last and therefore win, because they encode flags without which containers do not run correctly on that host at all.

No de-duplication is performed across those layers. If the same single-valued flag is set at more than one layer, every occurrence is passed to the container runtime and its own last-wins behavior decides.

The default value is an empty array.

Objects that Reference context/startup-options

Not used in current content packs

Objects used by context/startup-options

Not used in current content packs