DOCKER-COMPOSE-SCALE(1)
๐ 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 aboutscale. it defaults tofalse, 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 tofalse, 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 tofalse, so you're in real mode unless you opt into pretend mode. ๐ง
๐ SEE ALSO ๐
docker-compose(1)โ the main character. go read her too, iykyk. ๐
โ ๏ธ real talk for a sec: the options are listed with[=false]defaults, and theSERVICE=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
- debian trixie: docker-compose 2.26.1-4 ยท Apache-2.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms