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