kubectl cp <arg>
Copy files and directories to and from containers
Arguments
Name | Description |
---|---|
arg |
Options
Name | Description |
---|---|
-c, --container <arg> | Container name. If omitted, the first container in the pod will be chosen |
--no-preserve <arg> | The copied file/directory's ownership and permissions will not be preserved in the container |