docker trust key generate

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

Generate and load a signing key-pair

Usage

docker trust key generate NAME

Options

Name, shorthand Default Description
--dir Directory to generate key in, defaults to current directory

Parent command

Command Description
docker trust key Manage keys for signing Docker images (experimental)
Command Description
docker trust key generate Generate and load a signing key-pair
docker trust key load Load a private key file for signing