cloud-sdk-docker icon indicating copy to clipboard operation
cloud-sdk-docker copied to clipboard

Documentation claims there are `linux/arm` images

Open jsoref opened this issue 8 months ago • 2 comments

Images do not have arm architectures: https://hub.docker.com/r/google/cloud-sdk/tags?name=latest

latest

Digest OS/ARCH Compressed size
5bb7bf83b7b7 linux/amd64 1.22 GB

Last pushed 8 days by cloudsdkdocker


  • The documentation change made in https://github.com/GoogleCloudPlatform/cloud-sdk-docker/pull/481 added a claim of arm images
  • 447.0.0 released shortly after does not have any arm images.

Originally posted by @jsoref in https://github.com/GoogleCloudPlatform/cloud-sdk-docker/pull/481#discussion_r2035476498

Current documentation retains this incorrect claim:

https://github.com/GoogleCloudPlatform/cloud-sdk-docker/blob/91b5077caa18419f49e7dc03331c282e54cd951a/README.md?plain=1#L44 https://github.com/GoogleCloudPlatform/cloud-sdk-docker/blob/91b5077caa18419f49e7dc03331c282e54cd951a/README.md?plain=1#L53 https://github.com/GoogleCloudPlatform/cloud-sdk-docker/blob/91b5077caa18419f49e7dc03331c282e54cd951a/README.md?plain=1#L64 https://github.com/GoogleCloudPlatform/cloud-sdk-docker/blob/91b5077caa18419f49e7dc03331c282e54cd951a/README.md?plain=1#L82 https://github.com/GoogleCloudPlatform/cloud-sdk-docker/blob/91b5077caa18419f49e7dc03331c282e54cd951a/README.md?plain=1#L93

jsoref avatar Apr 09 '25 14:04 jsoref

Arm support is only available in the docker images stored in the AR repo: gcr.io/google.com/cloudsdktool/google-cloud-cli

Screenshot of manifest (image tag alpine, version: 517.0.0): https://screenshot.googleplex.com/7ViXFhJpmQJAm7z

The images in docker-hub does not include the arm images. We have updated the docker-hub documentation accordingly: https://hub.docker.com/repository/docker/google/cloud-sdk/general

anindyatahsin avatar Apr 14 '25 20:04 anindyatahsin

@anindyatahsin many of your links require Google SSO which normal people don't have...

Fwiw, here's what I see when I load https://console.cloud.google.com/artifacts/docker/google.com:cloudsdktool/us/gcr.io/google-cloud-cli/sha256:c7ca59159b0b71c72e9330afd6db7661febbf215718aeed0592120c80c0c0440;tab=manifest?invt=Abuw5Q:

Image

... which does include linux/arm64


I don't understand why you wouldn't include arm64 images in the content you publish to Docker Hub...

If the repository on Docker Hub isn't maintained, it would make more sense to include something like:

Docker Hub content is not maintained

Instead of using docker pull google/cloud-sdk you should use docker pull gcr.io/google.com/cloudsdktool/google-cloud-cli:...

jsoref avatar Apr 14 '25 21:04 jsoref