Skip to main content

Docker errors and solutions

The following errors may occur when using Docker.

Failed to sign, no valid signing keys for delegation roles even though Docker Content Trust (DCT) is set up, and the pipeline is being executed on the machine where DCT is set up

Error message

failed to sign registry/repo:tag: no valid signing keys for delegation roles

Description

This error occurs as a general error and may occur for any number of reasons.

Solution

  1. Check if the environment variables are setup properly for the pipeline.

  2. Check the smpkcs11.log file on the agent.

    Sugerencia

    To identify where your logs are located, run the following command in SMCTL:

    echo %USERPROFILE%/.signingmanager/logs

    For more information on how to interpret logs, refer to Signing errors.