@Test
  public void testPull_v21() throws IOException, RegistryException {
    RegistryClient registryClient =
        RegistryClient.factory(EventHandlers.NONE, dockerHost + ":5000", "busybox", httpClient)
            .newRegistryClient();

    V21ManifestTemplate manifestTemplate =
        registryClient.pullManifest("latest", V21ManifestTemplate.class).getManifest();

    assertThat(manifestTemplate.getSchemaVersion()).isEqualTo(1);
    assertThat(manifestTemplate.getFsLayers()).isNotEmpty();
  }
A known oci manifest sha for gcr.io/distroless/base.
jib-core/src/integration-test/java/com/google/cloud/tools/jib/registry/ManifestPullerIntegrationTest.java