docker trust key

Estimated reading time: 1 minute

Edge only: This is the CLI reference for Docker CE Edge versions. Some of these options may not be available to Docker CE stable or Docker EE. You can view the stable version of this CLI reference or learn about Docker CE Edge.

Description

Manage keys for signing Docker images (experimental)

This command is experimental.

This command is experimental on the Docker client. It should not be used in production environments. To enable experimental features in the Docker CLI, edit the config.json and set experimental to enabled.

Usage

docker trust key COMMAND

Child commands

CommandDescription
docker trust key generateGenerate and load a signing key-pair
docker trust key loadLoad a private key file for signing

Parent command

CommandDescription
docker trustManage trust on Docker images (experimental)
CommandDescription
docker trust inspectReturn low-level information about keys and signatures
docker trust keyManage keys for signing Docker images (experimental)
docker trust revokeRemove trust for an image
docker trust signSign an image
docker trust signerManage entities who can sign Docker images (experimental)
docker trust viewDisplay detailed information about keys and signatures