Skip to content

no image found in manifest list for architecture amd64, variant "", OS darwin FAIL #1586

Closed

Description

@finalcreator

$ skopeo copy docker://docker.io/alpine:latest docker-daemon:docker.io/alpine:latest [18:16:36]
FATA[0005] choosing an image from manifest list docker://alpine:latest: no image found in manifest list for architecture amd64, variant "", OS darwin
FAIL

Activity

  1. mtrmac commented on Mar 5, 2022

    @mtrmac
    Contributor

    Thanks for your report.

    The default value of --multi-arch is system (matching the environment where Skopeo is run), and there is no macOS variant for the alpine image. If you want to copy some other variant, see --override-{os,arch,variant}.

  2. finalcreator commented on Mar 6, 2022

    @finalcreator
    Author

    Thanks for your report.

    The default value of --multi-arch is system (matching the environment where Skopeo is run), and there is no macOS variant for the alpine image. If you want to copy some other variant, see --override-{os,arch,variant}.
    I have two quesitons:

    1. Is there a way to find all supported arc/os for a image?
    2. How to get the url (docker://docker.io/alpine) of an image, when I use docker hub , there is no such imformation.

    Thanks anyway. I can run with following.
    $ skopeo inspect docker://docker.io/alpine --override-os linux --override-arch amd64
    {
    "Name": "docker.io/library/alpine",
    "Digest": "sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300",
    "RepoTags": [
    "2.6",

  3. Madeeks commented on Mar 7, 2022

    @Madeeks

    Is there a way to find all supported arc/os for a image?

    Docker Hub's web interface shows the OS/Arch combination of images associated to a tag under the Tags view of a repository. Here is an example with Alpine Linux.

    Also, for multi-arch images Docker Hub returns a manifest list, which you can visualize with Skopeo by asking to output the raw manifest:

    $ skopeo inspect --raw docker://alpine:latest | jq
    {
      "manifests": [
        {
          "digest": "sha256:e7d88de73db3d3fd9b2d63aa7f447a10fd0220b7cbf39803c803f2af9ba256b3",
          "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
          "platform": {
            "architecture": "amd64",
            "os": "linux"
          },
          "size": 528
        },
        {
          "digest": "sha256:e047bc2af17934d38c5a7fa9f46d443f1de3a7675546402592ef805cfa929f9d",
          "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
          "platform": {
            "architecture": "arm",
            "os": "linux",
            "variant": "v6"
          },
          "size": 528
        },
        {
          "digest": "sha256:8483ecd016885d8dba70426fda133c30466f661bb041490d525658f1aac73822",
          "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
          "platform": {
            "architecture": "arm",
            "os": "linux",
            "variant": "v7"
          },
          "size": 528
        },
        {
          "digest": "sha256:c74f1b1166784193ea6c8f9440263b9be6cae07dfe35e32a5df7a31358ac2060",
          "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
          "platform": {
            "architecture": "arm64",
            "os": "linux",
            "variant": "v8"
          },
          "size": 528
        },
        {
          "digest": "sha256:2689e157117d2da668ad4699549e55eba1ceb79cb7862368b30919f0488213f4",
          "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
          "platform": {
            "architecture": "386",
            "os": "linux"
          },
          "size": 528
        },
        {
          "digest": "sha256:2042a492bcdd847a01cd7f119cd48caa180da696ed2aedd085001a78664407d6",
          "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
          "platform": {
            "architecture": "ppc64le",
            "os": "linux"
          },
          "size": 528
        },
        {
          "digest": "sha256:49e322ab6690e73a4909f787bcbdb873631264ff4a108cddfd9f9c249ba1d58e",
          "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
          "platform": {
            "architecture": "s390x",
            "os": "linux"
          },
          "size": 528
        }
      ],
      "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
      "schemaVersion": 2
    }
    

    The individual manifest digests can of course be used in a Docker reference to skopeo copy specific images, for example
    skopeo copy docker://alpine@sha256:e7d88de73db3d3fd9b2d63aa7f447a10fd0220b7cbf39803c803f2af9ba256b3 [destination]

  4. mtrmac commented on Mar 7, 2022

    @mtrmac
    Contributor
    • Is there a way to find all supported arc/os for a image?

    What are you actually trying to achieve, at a higher level? This is not an unreasonable question to ask, but it’s a surprising question to start with.

  5. locked as resolved and limited conversation to collaborators on Sep 18, 2023
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