[go: up one dir, main page]

{ const container = $el; // The div with overflow const item = document.getElementById('sidebar-current-page') if (item) { const containerTop = container.scrollTop; const containerBottom = containerTop + container.clientHeight; const itemTop = item.offsetTop - container.offsetTop; const itemBottom = itemTop + item.offsetHeight; // Scroll only if the item is out of view if (itemBottom > containerBottom - 200) { container.scrollTop = itemTop - (container.clientHeight / 2 - item.offsetHeight / 2); } } })" class="bg-background-toc dark:bg-background-toc fixed top-0 z-40 hidden h-screen w-full flex-none overflow-x-hidden overflow-y-auto md:sticky md:top-16 md:z-auto md:block md:h-[calc(100vh-64px)] md:w-[320px]" :class="{ 'hidden': ! $store.showSidebar }">
Contact support

docker compose config

DescriptionParse, resolve and render compose file in canonical format
Usagedocker compose config [OPTIONS] [SERVICE...]

Description

docker compose config renders the actual data model to be applied on the Docker Engine. It merges the Compose files set by -f flags, resolves variables in the Compose file, and expands short-notation into the canonical format.

Options

OptionDefaultDescription
--environmentPrint environment used for interpolation.
--formatFormat the output. Values: [yaml | json]
--hashPrint the service config hash, one per line.
--imagesPrint the image names, one per line.
--lock-image-digestsProduces an override file with image digests
--modelsPrint the model names, one per line.
--networksPrint the network names, one per line.
--no-consistencyDon't check model consistency - warning: may produce invalid Compose output
--no-env-resolutionDon't resolve service env files
--no-interpolateDon't interpolate environment variables
--no-normalizeDon't normalize compose model
--no-path-resolutionDon't resolve file paths
-o, --outputSave to file (default to stdout)
--profilesPrint the profile names, one per line.
-q, --quietOnly validate the configuration, don't print anything
--resolve-image-digestsPin image tags to digests
--servicesPrint the service names, one per line.
--variablesPrint model variables and default values.
--volumesPrint the volume names, one per line.