dockerClient.startContainer(container.getId());
tmpContainers.add(container.getId());
LOG.info("Commiting container {}", container.toString());
String imageId = dockerClient
.commit(new CommitConfig(container.getId()));
tmpImgs.add(imageId);
dockerClient.stopContainer(container.getId());
dockerClient.kill(container.getId());
dockerClient.removeContainer(container.getId());