Load image:
nerdctl load < busybox.tar.gz
Or
nerdctl load --input fedora.tar
Login
nerdctl login harbor.hpclab.tw
Push
Tag an image for this project:
nerdctl tag SOURCE_IMAGE[:TAG] harbor.hpclab.tw/a100/REPOSITORY[:TAG]
Push an image to this project:
nerdctl push harbor.hpclab.tw/a100/REPOSITORY[:TAG]
Cosign
cosign sign image:tag
To sign with local key
$ cosign generate-key-pair
Enter password for private key:
Enter again:
Private key written to cosign.key
Public key written to cosign.pub
$ cosign sign --key cosign.key REPOSITORY[:TAG]
Enter password for private key:
Pushing signature to: index.docker.io/user/demo:sha256-87ef60f558bad79beea6425a3b28989f01dd417164150ab3baab98dcbf04def8.sig
Cleanup