docker_compose_convert.yaml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. command: docker compose convert
  2. aliases: config
  3. short: Converts the compose file to platform's canonical format
  4. long: "`docker compose convert` render the actual data model to be applied on target platform. When used with Docker engine,\nit merges the Compose files set by `-f` flags, resolves variables in Compose file, and expands short-notation into \nfully defined Compose model. \n\nTo allow smooth migration from docker-compose, this subcommand declares alias `docker compose config`"
  5. usage: docker compose convert SERVICES
  6. pname: docker compose
  7. plink: docker_compose.yaml
  8. options:
  9. - option: format
  10. value_type: string
  11. default_value: yaml
  12. description: 'Format the output. Values: [yaml | json]'
  13. deprecated: false
  14. experimental: false
  15. experimentalcli: false
  16. kubernetes: false
  17. swarm: false
  18. - option: hash
  19. value_type: string
  20. description: Print the service config hash, one per line.
  21. deprecated: false
  22. experimental: false
  23. experimentalcli: false
  24. kubernetes: false
  25. swarm: false
  26. - option: no-interpolate
  27. value_type: bool
  28. default_value: "false"
  29. description: Don't interpolate environment variables.
  30. deprecated: false
  31. experimental: false
  32. experimentalcli: false
  33. kubernetes: false
  34. swarm: false
  35. - option: profiles
  36. value_type: bool
  37. default_value: "false"
  38. description: Print the profile names, one per line.
  39. deprecated: false
  40. experimental: false
  41. experimentalcli: false
  42. kubernetes: false
  43. swarm: false
  44. - option: quiet
  45. shorthand: q
  46. value_type: bool
  47. default_value: "false"
  48. description: Only validate the configuration, don't print anything.
  49. deprecated: false
  50. experimental: false
  51. experimentalcli: false
  52. kubernetes: false
  53. swarm: false
  54. - option: resolve-image-digests
  55. value_type: bool
  56. default_value: "false"
  57. description: Pin image tags to digests.
  58. deprecated: false
  59. experimental: false
  60. experimentalcli: false
  61. kubernetes: false
  62. swarm: false
  63. - option: services
  64. value_type: bool
  65. default_value: "false"
  66. description: Print the service names, one per line.
  67. deprecated: false
  68. experimental: false
  69. experimentalcli: false
  70. kubernetes: false
  71. swarm: false
  72. - option: volumes
  73. value_type: bool
  74. default_value: "false"
  75. description: Print the volume names, one per line.
  76. deprecated: false
  77. experimental: false
  78. experimentalcli: false
  79. kubernetes: false
  80. swarm: false
  81. deprecated: false
  82. experimental: false
  83. experimentalcli: false
  84. kubernetes: false
  85. swarm: false