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 is false, 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