1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.nl/common/crane-pull.md
2024-10-26 12:07:57 +02:00

24 lines
758 B
Markdown

# crane pull
> Haal externe images op via referentie en sla hun inhoud lokaal op.
> Meer informatie: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_pull.md>.
- Haal externe image op:
`crane pull {{image_naam}} {{pad/naar/tarball}}`
- Bewaar de image-referentie die is gebruikt om op te halen als een annotatie wanneer gebruikt met --format=oci:
`crane pull {{image_naam}} {{pad/naar/tarball}} --annotate-ref`
- Pad naar cache-image-lagen:
`crane pull {{image_naam}} {{pad/naar/tarball}} {{-c|--cache_path}} {{pad/naar/cache}}`
- Formaat waarin images moeten worden opgeslagen (standaard 'tarball'):
`crane pull {{image_naam}} {{pad/naar/tarball}} {{-format}} {{format_naam}}`
- Toon help:
`crane pull {{-h|--help}}`