I want to use delegates with DOCKER CONTENT TRUST. I generated the delegate.crt/key on the collaborator's machine and now I am trying to rotate the snapshot key with:
notary key rotate localhost:5000/ubuntu snapshot -r
=> Error: unknown shorthand flag: 'r' in -r
Usage:
notary key rotate [ GUN ] [flags]
Why am I getting this error?
Had "unknown shorthand flag: 'r' in -rm" error but due bad argument, not that I wanted delegation.
Was:
$ docker run -rm busybox echo hello world
Causing:
unknown shorthand flag: 'r' in -rm
The correct parameter is --rm
two dashes.
$ docker run --rm busybox echo hello world
the --rm flag that can be passed to docker run which automatically deletes the container once it's exited from.
Source: https://github.com/prakhar1989/docker-curriculum#11-docker-run
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With