}
private void pullImage(final String image) throws DockerException, InterruptedException {
listener.pulling();
DockerTimeoutException wasTimeout = null;
// Attempt to pull. Failure, while less than ideal, is ok.
try {
docker.pull(image);
} catch (DockerTimeoutException e) {
log.warn("Pulling image {} failed with timeout", image, e);