DOCKER(1)
β¨ DOCKER-STACK-CONFIG β¨
okay bestie, welcome to the Docker User Manuals π this one lives in the DOCKER(1) family and it's literally the moment your whole Compose situation gets its glow-up reveal. no cap.
πΈ NAME πΈ
docker-stack-config β outputs the final config file, after doing merges and interpolations
likeβ¦ it takes everything you threw at it, smooshes it all together, does the interpolation thing, and shows you the final form. it's giving β¨manifestationβ¨ but for YAML.
π SYNOPSIS π
docker stack config [OPTIONS]
that's it. that's the whole vibe. docker stack config and then some options if you're feeling spicy πΆοΈ
π¦ DESCRIPTION π¦
Outputs the final config file, after doing merges and interpolations.
fr fr, that's the whole point. you hand it your Compose file(s), it does the merging and the interpolating, and then it hands you back the final config file β no mystery, no leftover placeholders, just the finished product. main character energy only π
π OPTIONS π
-c,--compose-file=[]β path to a Compose file, or"-"to read from stdin. yes bestie,"-"is a real value and it means "read it from stdin" π«Ά so you can pipe stuff in like the tech icon you are.--skip-interpolation[=false]β skip interpolation and output only merged config. so if you want the merge but not the interpolation, this is your girl. default isfalse, meaning by default the interpolation DOES happen. lowkey important detail, don't skip it π
π SEE ALSO π
go read that one next, it's the parent situation and it's iconic π
and that's the tea β β this page came to you from the Docker Community, dated Oct 2026, sitting pretty in the DOCKER(1) manual. mwah π go configure something gorgeous, bestie πβ¨π¦
π¦ where this page comes from
- alpine 3.24: docker-doc 29.9.2-r0 Β· Apache-2.0
- fedora 43: docker-cli 29.8.2-2.fc43
- fedora 43: docker-cli 29.9.2-2.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
- fedora 44: docker-cli 29.8.2-2.fc44
- fedora 44: docker-cli 29.9.2-2.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms