Skip to content

Commit 21812b2

Browse files
committed
implement docker trust as plugin
Just a quick experiment to see if we can move the `trust` subcommands to a plugin, so that the subcommands can be installed separate from the `docker trust` integration in push/pull (for situations where trust verification happens on the daemon side). make binary go build -o /usr/libexec/docker/cli-plugins/docker-trust ./cmd/docker-trust docker info Client: Version: 28.2.0-dev Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.24.0 Path: /usr/libexec/docker/cli-plugins/docker-buildx trust: Manage trust on Docker images (Docker Inc.) Version: unknown-version Path: /usr/libexec/docker/cli-plugins/docker-trust docker trust --help Usage: docker trust [OPTIONS] COMMAND Extended build capabilities with BuildKit Options: -D, --debug Enable debug logging Management Commands: key Manage keys for signing Docker images signer Manage entities who can sign Docker images Commands: inspect Return low-level information about keys and signatures revoke Remove trust for an image sign Sign an image Run 'docker trust COMMAND --help' for more information on a command. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent b5bac44 commit 21812b2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+195
-2
lines changed

cli/command/commands/commands.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import (
1818
_ "github.com/docker/cli/cli/command/stack"
1919
_ "github.com/docker/cli/cli/command/swarm"
2020
_ "github.com/docker/cli/cli/command/system"
21-
_ "github.com/docker/cli/cli/command/trust"
2221
_ "github.com/docker/cli/cli/command/volume"
2322
"github.com/docker/cli/internal/commands"
2423
"github.com/spf13/cobra"

0 commit comments

Comments
 (0)