DOCKER-COMPOSE-STOP(1)

πŸ“¦ version 2.26.1, in debian trixie

πŸ’– DOCKER-COMPOSE-STOP πŸ’–

okay bestie, welcome to the docker-compose-stop page from the DOCKER-COMPOSE-STOP(1) manual πŸ’… this is the one that hits pause on ur lil container babies without actually yeeting them into the void. let's get into it πŸŽ€


✨ NAME ✨

docker-compose-stop β€” Stop services πŸ›‘


πŸ¦‹ SYNOPSIS πŸ¦‹

docker compose stop [OPTIONS] [SERVICE...]

that's it. that's the whole vibe. drop ur options, name ur services if u wanna be picky, and go 🌸


πŸ’œ DESCRIPTION πŸ’œ

Stops running containers without removing them. no deleting, no drama, no "oops where did my container go" 😭 they just go to sleep.

and the best part?? they can be started again with docker compose start. so it's giving nap time, not funeral. main character energy fr fr πŸ’…βœ¨


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help[=false] β€” help for stop. the classic "wait what does this do again" button πŸ™ˆ
  • -t, --timeout=0 β€” Specify a shutdown timeout in seconds. give ur containers a lil grace period to wrap things up before the lights go out ⏳ default is 0, jsyk

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these ones come from the parent command, so they're basically family heirlooms πŸ‘‘

  • --dry-run[=false] β€” Execute command in dry run mode. it'll pretend to do the thing so u can vibe check it first without committing 🫢

πŸ‘‘ SEE ALSO πŸ‘‘


and that's the page bestie!! this lil beauty dropped in Mar 2025 and it lives in the Docker Compose docs, so if u ever forget, the source of truth is right there waiting for u 🌸 mwah, go stop some containers responsibly πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from