docker_compose_push.yaml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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: include-deps
  33. value_type: bool
  34. default_value: "false"
  35. description: Also push images of services declared as dependencies
  36. deprecated: false
  37. hidden: false
  38. experimental: false
  39. experimentalcli: false
  40. kubernetes: false
  41. swarm: false
  42. - option: quiet
  43. shorthand: q
  44. value_type: bool
  45. default_value: "false"
  46. description: Push without printing progress information
  47. deprecated: false
  48. hidden: false
  49. experimental: false
  50. experimentalcli: false
  51. kubernetes: false
  52. swarm: false
  53. inherited_options:
  54. - option: dry-run
  55. value_type: bool
  56. default_value: "false"
  57. description: Execute command in dry run mode
  58. deprecated: false
  59. hidden: false
  60. experimental: false
  61. experimentalcli: false
  62. kubernetes: false
  63. swarm: false
  64. deprecated: false
  65. hidden: false
  66. experimental: false
  67. experimentalcli: false
  68. kubernetes: false
  69. swarm: false