Copy files/folders between a container and the local filesystem
Copy files/folders between a container and the local filesystem
Use '-' as the source to read a tar archive from stdin and extract it to a directory destination in a container. Use '-' as the destination to stream a tar archive of a container source to stdout.
pouch cp [OPTIONS] CONTAINER:SRC_PATH DEST_PATH|-
pouch cp [OPTIONS] SRC_PATH|- CONTAINER:DEST_PATH
$ pouch cp 8assd1234:/root/foo /home
$ pouch cp /home/bar 712yasbc:/root
-h, --help help for cp
-D, --debug Switch client log level to DEBUG mode
-H, --host string Specify connecting address of Pouch CLI (default "unix:///var/run/pouchd.sock")
--tlscacert string Specify CA file of TLS
--tlscert string Specify cert file of TLS
--tlskey string Specify key file of TLS
--tlsverify Use TLS and verify remote
- pouch - An efficient container engine