Skip to content

'docker trust sign' does not work with manifest lists #910

Description

@rn

I created/pushed a new manifest list (using some LinuxKit images/repo for which signing is already set up:

$ docker manifest create linuxkit/auditd:test-sign \
    linuxkit/auditd:6ea41e1a0c3c0396703aa888f23e5dafcc4fd2bd-arm64 \
    linuxkit/auditd:6ea41e1a0c3c0396703aa888f23e5dafcc4fd2bd-amd64
$ docker manifest push linuxkit/auditd:test-sign

The manifest is available and inspectable.

The, I attempt to sign the manifest list:

$ docker trust sign linuxkit/auditd:test-sign
Error: No such image: linuxkit/auditd:test-sign

Activity

  1. dnephin commented on Feb 28, 2018

    @dnephin
    Contributor

    cc @n4ss do you know who can look into this?

  2. eiais commented on Mar 6, 2018

    @eiais
    Contributor

    This doesn't work for two reasons.

    checkLocalImageExistence only returns local Images and doesn't check if a manifest is local. If that was modified to be checkLocalExistence for images and manifests it would break in sign.go on line 93 which calls image.TrustedPush.

    If a manifest was signed first with notary then multisigning would work with trust sign.
    AFAIK there isn't an equivalent to image.TrustedPush for manifests

  3. thaJeztah commented on May 14, 2026

    @thaJeztah
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions