DOCKER CONTENT TRUSTで代理人を使用したいと思います。私は協力者のマシン上delegate.crt /キーを生成し、今私はスナップショットキーを回転させるようにしようとしています:エラー:未知の略記フラグ: 'r'が-r
notary key rotate localhost:5000/ubuntu snapshot -r
=>エラー:不明な速記フラグ:-r 使用法では「r」: 公証人キー回転[GUN] [フラグ]
ありがとうございました!
DOCKER CONTENT TRUSTで代理人を使用したいと思います。私は協力者のマシン上delegate.crt /キーを生成し、今私はスナップショットキーを回転させるようにしようとしています:エラー:未知の略記フラグ: 'r'が-r
notary key rotate localhost:5000/ubuntu snapshot -r
=>エラー:不明な速記フラグ:-r 使用法では「r」: 公証人キー回転[GUN] [フラグ]
ありがとうございました!
(免責事項:私はドッカー公証人程度もちろんゼロを知っているので、これは完全に偽のかもしれません)Notary documentationによると
:
The root and targets key must be locally managed - to rotate either the root or targets key, for instance in case of compromise, use the notary key rotate command without the -r flag. The timestamp key must be remotely managed - to rotate the timestamp key use the notary key rotate timestamp -r command.
だから私はあなたが使用しようとしていると思うだろう明らかにサポートされていないローカルで管理されていないルートキーまたはターゲットキー。
「未知の略記フラグ: 'r' in -rm」エラーですが、悪い引数のため、私は委任を望んでいませんでした。
ました:
$ docker run --rm busybox echo hello world
引き起こし:
unknown shorthand flag: 'r' in -rm
を正しいパラメータが--rm
2つのダッシュです。
$ 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.
出典:https://github.com/prakhar1989/docker-curriculum#11-docker-run
がフラグなしで働いたが、私は今、別のエラーが表示されます "": – BiltiuLena
>公証人の代表団はlocalhostを追加:5000/Ubuntuのターゲット/リリースをdelegation.crt --all -paths =>エラー: "公証人"の "委任"の不明なコマンド – BiltiuLena
がありましたが、公証人のクライアントバージョンに関することがわかりました。あなたのリプレイをありがとう! – BiltiuLena