docker-library / elasticsearch

DEPRECATED; https://github.com/docker-library/official-images/pull/15808
https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html
Apache License 2.0
485 stars 347 forks source link

Add support for multiple supported upstream architectures #194

Closed tianon closed 4 years ago

tianon commented 4 years ago

Version 7.8.0 adds support for arm64v8 :+1:

chrishemmings commented 3 years ago

@tianon Is there any chance you can add arm64v8 to 6.x releases?

yosifkit commented 3 years ago

@chrishemmings Elastic Co does not publish 6.x for arm64v8. It is just a single image, not a manifest like 7.13.2.

$ docker manifest inspect docker.elastic.co/elasticsearch/elasticsearch:6.8.16
{
    "schemaVersion": 2,
    "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
    "config": {
        "mediaType": "application/vnd.docker.container.image.v1+json",
        "size": 8741,
        "digest": "sha256:fa1c3a7d952e9701500507ae9249b4b3c26068e91790dde5db6c3cd0d6d09546"
    },
    "layers": [
        {
            "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
            "size": 85582008,
            "digest": "sha256:a4f595742a5b0a76289f5927f75d63ef61a88d2ff5aaad78eed16e50c925cc5d"
        },
        {
            "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
            "size": 222610720,
            "digest": "sha256:864f10e38711302a0b8aa97adc9cf8db3f3060983f4042de7a2133e594c6ba80"
        },
        {
            "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
            "size": 54400739,
            "digest": "sha256:4a72888f3c899c03075a49f64604d766492c4d986a3d2d458f43084b6fb527b8"
        },
        {
            "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
            "size": 2526,
            "digest": "sha256:53ff2c5774ad40c9687d7aef88a376eef1a1716a00dfac684dbafa6275bae22c"
        },
        {
            "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
            "size": 162105173,
            "digest": "sha256:b946883925ba24112249578334d293ad01dbd04f681625d72ee6467bfaff8db1"
        },
        {
            "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
            "size": 2270,
            "digest": "sha256:891bcb85b2360d968ae9a6625af8a7453fe84581aea88b0ba9de2b08e47203c4"
        },
        {
            "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
            "size": 2562,
            "digest": "sha256:2a4eeb3c395a73fb3de255e02efae93ab097c42ca3f1361935bbc31b754b6b05"
        }
    ]
}
$ docker manifest inspect docker.elastic.co/elasticsearch/elasticsearch:7.13.2
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1408,
         "digest": "sha256:9e5ce26d5938aed575d903a4c626d5c2f7cc49a068a6eb08e7205c74c6bafa51",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1407,
         "digest": "sha256:ff4927b62d649982cb237872a20d59b4cd2996618ffd0c9bd723d76467133ced",
         "platform": {
            "architecture": "arm64",
            "os": "linux"
         }
      }
   ]
}