public void tarImport(String name, InputStream input) { DockerCommand icci = new ImportContainerCmdImpl(docker.getDockerPath()); icci.exec(name, input); }
public InputStream export(String id) { DockerCommand cmd = new ExportContainerCmdImpl(docker.getDockerPath()); return (InputStream) cmd.exec(id); }