public void pull(String from) throws IOException, InterruptedException {
    login();
    new Command("docker", "pull", from).run();
    logout();
  }
Pulls an image to a Docker daemon (not to this local registry).

@param from the image reference to pull
@throws IOException if the pull command fails
@throws InterruptedException if the pull command is interrupted
jib-core/src/integration-test/java/com/google/cloud/tools/jib/registry/LocalRegistry.java