2024-10-26 12:07:57 +02:00
|
|
|
# crane copy
|
|
|
|
|
|
|
|
> Kopieer efficiënt een remote image van bron naar doel terwijl de digest-waarde behouden blijft.
|
|
|
|
> Meer informatie: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_copy.md>.
|
|
|
|
|
|
|
|
- Kopieer een image van bron naar doel:
|
|
|
|
|
|
|
|
`crane copy {{bron}} {{doel}}`
|
|
|
|
|
|
|
|
- Kopieer alle tags:
|
|
|
|
|
2025-03-14 09:18:08 +02:00
|
|
|
`crane copy {{bron}} {{doel}} {{[-a|--all-tags]}}`
|
2024-10-26 12:07:57 +02:00
|
|
|
|
|
|
|
- Stel het maximum aantal gelijktijdige kopieën in, standaard is GOMAXPROCS:
|
|
|
|
|
2025-03-14 09:18:08 +02:00
|
|
|
`crane copy {{bron}} {{doel}} {{[-j|--jobs]}} {{int}}`
|
2024-10-26 12:07:57 +02:00
|
|
|
|
|
|
|
- Voorkom het overschrijven van bestaande tags in het doel:
|
|
|
|
|
2025-03-14 09:18:08 +02:00
|
|
|
`crane copy {{bron}} {{doel}} {{[-n|--no-clobber]}}`
|
2024-10-26 12:07:57 +02:00
|
|
|
|
2025-01-11 19:47:43 +01:00
|
|
|
- Toon de help:
|
2024-10-26 12:07:57 +02:00
|
|
|
|
2025-03-14 09:18:08 +02:00
|
|
|
`crane copy {{[-h|--help]}}`
|