DOCKER-COMPOSE-PUSH(1)

πŸ“¦ version 2.26.1, in debian trixie

πŸ’… docker-compose-push β€” the manual, bestie edition πŸ’…

okay so you found docker-compose-push in the DOCKER-COMPOSE-PUSH(1) manual and you're like "what does this do" β€” don't worry, I got you. it's the glow-up your service images deserve. ✨


🫢 NAME 🫢

docker-compose-push β€” push service images. that's it. that's the whole thing. iconic.


🌸 SYNOPSIS 🌸

docker compose push [OPTIONS] [SERVICE...]

πŸ’– DESCRIPTION πŸ’–

so basically: it pushes the images for your services to their respective registry/repository. slay. πŸŽ€

here's the vibe check on the assumptions it makes, because it does assume some things about you, ngl:

  • You are pushing an image you have built locally
  • You have access to the build key

no cap, if you don't have those two, this is gonna be a rough time. πŸ’€

Examples

services:
  service1:
    build: .
    image: localhost:5000/yourimage  ## goes to local registry

  service2:
    build: .
    image: your-dockerid/yourimage  ## goes to your repository on Docker Hub

see how service1 goes to your local registry and service2 goes to your repository on Docker Hub? the way that just works. πŸ˜­πŸ‘‘


✨ OPTIONS ✨

  • -h, --help[=false] β€” help for push. your little safety net, bestie. πŸ¦‹
  • --ignore-push-failures[=false] β€” Push what it can and ignores images with push failures. it's giving "we don't talk about bruno" energy fr fr πŸ™ˆ
  • --include-deps[=false] β€” Also push images of services declared as dependencies. bring the whole friend group along, no one gets left behind. 🫢
  • -q, --quiet[=false] β€” Push without printing progress information. main character silence. 🀫

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

  • --dry-run[=false] β€” Execute command in dry run mode. window shopping, no commitment. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘


that's the whole page, bestie!! every single option, every default, every assumption β€” all of it, untouched and thriving. πŸ“

this was DOCKER-COMPOSE-PUSH(1) from Mar 2025 β€” sending you so much love from the docker-compose-push manual, hope your pushes are all green and your failures are always ignorable πŸ’–βœ¨ mwah!

πŸ“¦ where this page comes from