DOCKER-COMPOSE-PUSH(1)
π 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 π
docker-compose(1)β go read the parent, it's the mother of all lore. π
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
- 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