Provides a fluent API to copy files or directories from a host machine into a running Docker container via a tar archive.
// Source: https://github.com/docker-java/docker-java | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package com.github.dockerjava.api.command;
import java.io.InputStream;
import com.github.dockerjava.api.exception.NotFoundException;
public interface CopyArchiveToContainerCmd extends SyncDockerCmd<Void> {
String getContainerId();
String getHostResource();
InputStream getTarInputStream();
boolean isNoOverwriteDirNonDir();
boolean isDirChildrenOnly();
boolean isCopyUIDGID();
/**
* Set container's id
*
* @param containerId
* id of the container to copy file to
*/
CopyArchiveToContainerCmd withContainerId(St
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key