putArchive abstract method

Future<void> putArchive(
  1. String id,
  2. String path,
  3. List<int> tarBytes
)

Writes tarBytes — a ustar archive — into the container, at path.

path must already exist inside the container as a directory: that is Docker's own rule for PUT /containers/{id}/archive, not something rig adds. Throws CopyDestinationNotFound when it does not.

Implementation

Future<void> putArchive(String id, String path, List<int> tarBytes);