cosign
Verified for current stable LTS
Cosign Command: Verify Dockerfile With Public Key
Use for verify dockerfile with public key with Cosign. Exact CLI syntax to verify dockerfile with public key using Cosign.
When to use this: Use for verify dockerfile with public key with Cosign.
Command Syntax
cosign dockerfile verify -key <cosign.pub> <path/to/Dockerfile> cosign dockerfile verify -key <cosign.pub> <path/to/Dockerfile> Command Breakdown
-key- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to verify dockerfile with public key using Cosign.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Cosign Command: Generate Key Pair
cosign generate-key-pair Cosign Command: Sign Container Store Signature cosign sign --key <cosign.key> <image> Cosign Command: Sign Container With K8s Secret cosign sign --key k8s://<namespace>/<key> <image> Cosign Command: Sign Blob Local Key Pair cosign sign-blob --key <cosign.key> <path/to/file> Cosign Command: Verify Container Public Key cosign verify --key <cosign.pub> <image>