
com.github.dockerjava.api.command.CopyFileFromContainerCmd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-java Show documentation
Show all versions of docker-java Show documentation
Java API Client for Docker
package com.github.dockerjava.api.command;
import java.io.InputStream;
import com.github.dockerjava.api.NotFoundException;
public interface CopyFileFromContainerCmd extends SyncDockerCmd {
public String getContainerId();
public String getResource();
public CopyFileFromContainerCmd withContainerId(String containerId);
public CopyFileFromContainerCmd withResource(String resource);
public String getHostPath();
public CopyFileFromContainerCmd withHostPath(String hostPath);
/**
* Its the responsibility of the caller to consume and/or close the {@link InputStream} to prevent connection leaks.
*
* @throws NotFoundException
* No such container
*/
@Override
public InputStream exec() throws NotFoundException;
public static interface Exec extends DockerCmdSyncExec {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy