docker_compose_commit.yaml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. command: docker compose commit
  2. short: Create a new image from a service container's changes
  3. long: Create a new image from a service container's changes
  4. usage: docker compose commit [OPTIONS] SERVICE [REPOSITORY[:TAG]]
  5. pname: docker compose
  6. plink: docker_compose.yaml
  7. options:
  8. - option: author
  9. shorthand: a
  10. value_type: string
  11. description: Author (e.g., "John Hannibal Smith <[email protected]>")
  12. deprecated: false
  13. hidden: false
  14. experimental: false
  15. experimentalcli: false
  16. kubernetes: false
  17. swarm: false
  18. - option: change
  19. shorthand: c
  20. value_type: list
  21. description: Apply Dockerfile instruction to the created image
  22. deprecated: false
  23. hidden: false
  24. experimental: false
  25. experimentalcli: false
  26. kubernetes: false
  27. swarm: false
  28. - option: index
  29. value_type: int
  30. default_value: "0"
  31. description: index of the container if service has multiple replicas.
  32. deprecated: false
  33. hidden: false
  34. experimental: false
  35. experimentalcli: false
  36. kubernetes: false
  37. swarm: false
  38. - option: message
  39. shorthand: m
  40. value_type: string
  41. description: Commit message
  42. deprecated: false
  43. hidden: false
  44. experimental: false
  45. experimentalcli: false
  46. kubernetes: false
  47. swarm: false
  48. - option: pause
  49. shorthand: p
  50. value_type: bool
  51. default_value: "true"
  52. description: Pause container during commit
  53. deprecated: false
  54. hidden: false
  55. experimental: false
  56. experimentalcli: false
  57. kubernetes: false
  58. swarm: false
  59. inherited_options:
  60. - option: dry-run
  61. value_type: bool
  62. default_value: "false"
  63. description: Execute command in dry run mode
  64. deprecated: false
  65. hidden: false
  66. experimental: false
  67. experimentalcli: false
  68. kubernetes: false
  69. swarm: false
  70. deprecated: false
  71. hidden: false
  72. experimental: false
  73. experimentalcli: false
  74. kubernetes: false
  75. swarm: false