ezgh registry cache-rules <command>A pull-through cache rule maps a prefix on the project’s registry host to Docker Hub. The first pull of <host>/<prefix>/<namespace>/<repository> fetches the image with the rule’s credentials (an EZGH Secrets secret granted to the rule) and stores it in the project; later pulls are served from that copy, and tags are rechecked once they’re a day old. A rule is given by prefix, ID or slug (ptc_…).
Part of ezgh registry.
Flags
This command also takes the global flags.
Subcommands
| Command | Description |
|---|---|
ezgh registry cache-rules create |
Create a pull-through cache rule and grant it its credentials |
ezgh registry cache-rules delete |
Delete a pull-through cache rule and every repository it cached |
ezgh registry cache-rules failures |
List a pull-through cache rule’s recent failures |
ezgh registry cache-rules get |
Show a pull-through cache rule |
ezgh registry cache-rules list |
List the project’s pull-through cache rules |
ezgh registry cache-rules update |
Change a pull-through cache rule’s credentials or description |