2024-10-26 12:07:57 +02:00
|
|
|
# crane registry
|
|
|
|
|
|
|
|
> Dit commando biedt een registry-implementatie op een automatisch gekozen poort (:0), $PORT of --address.
|
|
|
|
> Het commando blokkeert terwijl de server pushes en pulls accepteert en de inhoud kan worden opgeslagen in het geheugen en op de schijf.
|
|
|
|
> Meer informatie: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_registry_serve.md>.
|
|
|
|
|
|
|
|
- Dien een registry-implementatie:
|
|
|
|
|
|
|
|
`crane registry serve`
|
|
|
|
|
|
|
|
- Adres om naar te luisteren:
|
|
|
|
|
|
|
|
`crane registry serve --address {{address_naam}}`
|
|
|
|
|
|
|
|
- Pad naar een directory waar blobs worden opgeslagen:
|
|
|
|
|
|
|
|
`crane registry serve --disk {{pad/naar/store_dir}}`
|
|
|
|
|
|
|
|
- Toon help voor `crane registry`:
|
|
|
|
|
2025-03-14 09:18:08 +02:00
|
|
|
`crane registry {{[-h|--help]}}`
|
2024-10-26 12:07:57 +02:00
|
|
|
|
|
|
|
- Toon help voor `crane registry serve`:
|
|
|
|
|
2025-03-14 09:18:08 +02:00
|
|
|
`crane registry serve {{[-h|--help]}}`
|