2021-03-08 15:47:24 +01:00
|
|
|
command: docker compose push
|
|
|
|
short: Push service images
|
2021-03-11 16:20:30 +01:00
|
|
|
long: "Pushes images for services to their respective registry/repository.\n\nThe
|
|
|
|
following assumptions are made:\n- You are pushing an image you have built locally\n-
|
|
|
|
You have access to the build key\n\nExamples\n\n```yaml\nservices:\n service1:\n
|
|
|
|
\ build: .\n image: localhost:5000/yourimage ## goes to local registry\n
|
|
|
|
\ \n service2:\n build: .\n image: your-dockerid/yourimage
|
|
|
|
\ ## goes to your repository on Docker Hub\n```"
|
2021-03-08 15:47:24 +01:00
|
|
|
usage: docker compose push [SERVICE...]
|
|
|
|
pname: docker compose
|
|
|
|
plink: docker_compose.yaml
|
|
|
|
options:
|
|
|
|
- option: ignore-push-failures
|
|
|
|
value_type: bool
|
|
|
|
default_value: "false"
|
|
|
|
description: Push what it can and ignores images with push failures
|
|
|
|
deprecated: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
deprecated: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
|