Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
Kowshik Prakasam and Pieter Noordhuis edited this page Feb 28, 2013 · 1 revision

Copies files into a container.

File permissions and symbolic links are be preserved, while hard links are materialized. If the source path contains a trailing /, only the contents of the directory will be copied. Otherwise, the outermost directory, along with its contents, will be copied. The unprivileged user inside the container is made owner of the resulting files.

Request

  • handle: Container handle.
  • src_path: Path on the host to copy from.
  • dst_path: Path in the container to copy to.

Response

Empty.

Errors

TODO

Definition

package warden;

message CopyInRequest {
  required string handle = 1;
  required string src_path = 2;
  required string dst_path = 3;
}

message CopyInResponse {
}
Clone this wiki locally