docker_compose_cp.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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: |-
  5. docker compose cp [OPTIONS] SERVICE:SRC_PATH DEST_PATH|-
  6. docker compose cp [OPTIONS] SRC_PATH|- SERVICE:DEST_PATH
  7. pname: docker compose
  8. plink: docker_compose.yaml
  9. options:
  10. - option: all
  11. value_type: bool
  12. default_value: "false"
  13. description: Copy to all the containers of the service.
  14. deprecated: 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. experimental: false
  26. experimentalcli: false
  27. kubernetes: false
  28. swarm: false
  29. - option: follow-link
  30. shorthand: L
  31. value_type: bool
  32. default_value: "false"
  33. description: Always follow symbol link in SRC_PATH
  34. deprecated: false
  35. experimental: false
  36. experimentalcli: false
  37. kubernetes: false
  38. swarm: false
  39. - option: index
  40. value_type: int
  41. default_value: "1"
  42. description: |
  43. Index of the container if there are multiple instances of a service [default: 1].
  44. deprecated: false
  45. experimental: false
  46. experimentalcli: false
  47. kubernetes: false
  48. swarm: false
  49. deprecated: false
  50. experimental: false
  51. experimentalcli: false
  52. kubernetes: false
  53. swarm: false