docker_compose_push.yaml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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 [OPTIONS] [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. - option: quiet
  33. shorthand: q
  34. value_type: bool
  35. default_value: "false"
  36. description: Push without printing progress information
  37. deprecated: false
  38. hidden: false
  39. experimental: false
  40. experimentalcli: false
  41. kubernetes: false
  42. swarm: false
  43. deprecated: false
  44. experimental: false
  45. experimentalcli: false
  46. kubernetes: false
  47. swarm: false