Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #103 from google/upstream-1535146841
Browse files Browse the repository at this point in the history
Update README
  • Loading branch information
KaylaNguyen authored Aug 24, 2018
2 parents b2caa39 + 4dbe54d commit 13e9230
Showing 1 changed file with 46 additions and 4 deletions.
50 changes: 46 additions & 4 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,15 +1,30 @@
<table><tr>
<td><a href="https://gcr.io"><img src="https://avatars2.githubusercontent.com/u/1342004?s=200&v=4" height="120"/></a></td>
<td><a href="https://gcr.io"><img src="https://avatars2.githubusercontent.com/u/21046548?s=400&v=4" height="120"/></a></td>
<td><a href="https://bazel.build"><img src="https://bazel.build/images/bazel-icon.svg" height="120"/></a></td>
<td>
<a href="https://gcr.io">
<img src="https://avatars2.githubusercontent.com/u/1342004?s=200&v=4"
height="120"/>
</a>
</td>
<td>
<a href="https://gcr.io">
<img src="https://avatars2.githubusercontent.com/u/21046548?s=400&v=4"
height="120"/>
</a>
</td>
<td>
<a href="https://bazel.build">
<img src="https://bazel.build/images/bazel-icon.svg" height="120"/>
</a>
</td>
</tr></table>

# `containerregistry`
[![Build Status](https://travis-ci.org/google/containerregistry.svg?branch=master)](https://travis-ci.org/google/containerregistry)

A set of Python libraries and tools for interacting with a Docker Registry.

Bazel users see <a href="https://github.com/bazelbuild/rules_docker">rules_docker</a>, which relies heavily on these tools.
Bazel users see <a href="https://github.com/bazelbuild/rules_docker">
rules_docker</a>, which relies heavily on these tools.

## puller.par

Expand Down Expand Up @@ -143,3 +158,30 @@ optional arguments:
Write log events at or above this level to stderr.
```

## digester.par

```sh
$ bazel run @containerregistry//:digester.par -- --help
```

```
usage: digester.par [-h] [--tarball TARBALL] --output-digest OUTPUT_DIGEST
[--config CONFIG] [--digest DIGEST] [--layer LAYER] [--oci]
[--stderrthreshold STDERRTHRESHOLD]
Calculate digest for a container image.
optional arguments:
-h, --help show this help message and exit
--tarball TARBALL An optional legacy base image tarball.
--output-digest OUTPUT_DIGEST
Filename to store digest in.
--config CONFIG The path to the file storing the image config.
--digest DIGEST The list of layer digest filenames in order.
--layer LAYER The list of layer filenames in order.
--oci Image has an OCI Manifest.
--stderrthreshold STDERRTHRESHOLD
Write log events at or above this level to stderr.
```

0 comments on commit 13e9230

Please sign in to comment.