docker_compose_push.yaml 961 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. command: docker compose push
  2. short: Push service images
  3. long: |-
  4. Pushes images for services to their respective registry/repository.
  5. The following assumptions are made:
  6. - You are pushing an image you have built locally
  7. - You have access to the build key
  8. Examples
  9. ```yaml
  10. services:
  11. service1:
  12. build: .
  13. image: localhost:5000/yourimage ## goes to local registry
  14. service2:
  15. build: .
  16. image: your-dockerid/yourimage ## goes to your repository on Docker Hub
  17. ```
  18. usage: docker compose push [SERVICE...]
  19. pname: docker compose
  20. plink: docker_compose.yaml
  21. options:
  22. - option: ignore-push-failures
  23. value_type: bool
  24. default_value: "false"
  25. description: Push what it can and ignores images with push failures
  26. deprecated: false
  27. hidden: false
  28. experimental: false
  29. experimentalcli: false
  30. kubernetes: false
  31. swarm: false
  32. deprecated: false
  33. experimental: false
  34. experimentalcli: false
  35. kubernetes: false
  36. swarm: false