docker_compose_cp.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. command: docker compose cp
  2. short: Copy files/folders between a service container and the local filesystem
  3. long: Copy files/folders between a service container and the local filesystem
  4. usage: "docker compose cp [OPTIONS] SERVICE:SRC_PATH DEST_PATH|-\n\tdocker compose
  5. cp [OPTIONS] SRC_PATH|- SERVICE:DEST_PATH"
  6. pname: docker compose
  7. plink: docker_compose.yaml
  8. options:
  9. - option: all
  10. value_type: bool
  11. default_value: "false"
  12. description: Copy to all the containers of the service.
  13. deprecated: false
  14. hidden: false
  15. experimental: false
  16. experimentalcli: false
  17. kubernetes: false
  18. swarm: false
  19. - option: archive
  20. shorthand: a
  21. value_type: bool
  22. default_value: "false"
  23. description: Archive mode (copy all uid/gid information)
  24. deprecated: false
  25. hidden: false
  26. experimental: false
  27. experimentalcli: false
  28. kubernetes: false
  29. swarm: false
  30. - option: follow-link
  31. shorthand: L
  32. value_type: bool
  33. default_value: "false"
  34. description: Always follow symbol link in SRC_PATH
  35. deprecated: false
  36. hidden: false
  37. experimental: false
  38. experimentalcli: false
  39. kubernetes: false
  40. swarm: false
  41. - option: index
  42. value_type: int
  43. default_value: "1"
  44. description: |
  45. Index of the container if there are multiple instances of a service [default: 1].
  46. deprecated: false
  47. hidden: false
  48. experimental: false
  49. experimentalcli: false
  50. kubernetes: false
  51. swarm: false
  52. deprecated: false
  53. experimental: false
  54. experimentalcli: false
  55. kubernetes: false
  56. swarm: false