DOCKER-COMPOSE-SCALE(1)

๐Ÿ“ฆ version 2.26.1, in debian trixie

๐Ÿ’… docker-compose-scale โ€” the manual, but make it make sense

okay bestie, so you know how the manual page situation is DOCKER-COMPOSE-SCALE(1)? Yeah. We're doing that one. Sit down, hydrate, let's go. ๐Ÿฆ‹


โœจ NAME โœจ

docker-compose-scale โ€” literally just scale services. That's it. That's the whole job. ๐ŸŽ€


๐ŸŒธ SYNOPSIS ๐ŸŒธ

docker compose scale [SERVICE=REPLICAS...]

look at her. so simple. so powerful. ๐Ÿ’–


๐Ÿ’ซ DESCRIPTION ๐Ÿ’ซ

Scale services.</p็ดซ่‰ฒ>

okay so that's the entire description the manpage gave us and honestly? iconic minimalism. but let me translate: this is the command you reach for when you want to tell a service "hey girl, we need this many of you running now." You pass it SERVICE=REPLICAS pairs and it goes off and does the thing. No cap. ๐Ÿ”ฅ


โœจ OPTIONS โœจ

  • -h, --help[=false] โ€” the classic. asks for help specifically about scale. it defaults to false, obviously, because you don't need help until you need help. ๐Ÿ™ˆ
  • --no-deps[=false] โ€” don't start linked services. so like, normally there's this whole dependency situation and this flag is you saying "not today." defaults to false, so the linked services do get started unless you say otherwise. ๐Ÿ’…

๐Ÿ”ฎ OPTIONS INHERITED FROM PARENT COMMANDS ๐Ÿ”ฎ

these ones aren't even from scale itself, they're handed down from the parent command like a lil family heirloom:

  • --dry-run[=false] โ€” execute command in dry run mode. it's giving "let's rehearse before we actually commit." defaults to false, so you're in real mode unless you opt into pretend mode. ๐Ÿงš

๐ŸŒˆ SEE ALSO ๐ŸŒˆ


โš ๏ธ real talk for a sec: the options are listed with [=false] defaults, and the SERVICE=REPLICAS... in the synopsis is variadic โ€” the ... means you can stack multiple pairs. that's straight from the page, no embellishment. ๐Ÿซถ

and that's the whole vibe check, bestie. this lil page is from Mar 2025, it's the DOCKER-COMPOSE-SCALE(1) manual โ€” which, if you missed it, is also where we started this whole yap session. go forth and scale responsibly. mwah. ๐Ÿ’–โœจ๐ŸŽ€

๐Ÿ“ฆ where this page comes from