cloudserver icon indicating copy to clipboard operation
cloudserver copied to clipboard

Docker image and version confusion

Open ferbs opened this issue 3 years ago • 7 comments

Is docker hub the right repository to use for this project?

Old versions have been pushed to the repo after newer versions, such that the first page mainly shows only v7 releases. (eg zenko/cloudserver:latest-7.10.19) And it's missing newer versions deeper in--the newest there is :8.2.7 but Github Releases shows @zenko/cloudserver is actually up to v8.7.7. Also, the value for "version" in package.json is inconsistent, showing v8.1.2 for that v8.2.7 image.

(I'm glad I noticed a v8 image because v7 bugs were getting frustrating: docker-entrypoint.sh fails to split the ENDPOINTS environment variable and it also clobbers any bind-mounted config file at /usr/src/app/config.json)

How to find the latest?

ferbs avatar Jan 29 '23 22:01 ferbs

found them here: registry.scality.com/cloudserver/cloudserver:8.7.23 ;)

b091 avatar Jun 05 '23 11:06 b091

found them here: registry.scality.com/cloudserver/cloudserver:8.7.23 ;)

Note that this doesn't seem to support M1/M2 MacBooks: no matching manifest for linux/arm64/v8 in the manifest list entries

c-w avatar Jun 18 '23 22:06 c-w

Ideally this wouldn't be so hard to find. I was also using the older docker hub versions. In fact, even the README takes you to the wrong place: https://github.com/scality/cloudserver/blob/7fa199741fcdf84b5b12a470a40b647d6f8c98c2/README.md?plain=1#L28

ndtreviv avatar Apr 26 '24 13:04 ndtreviv

Also related to inconsistent versioning, there are many dynamic dependencies in package dependencies that use named git tags. If using url-based dependencies over published packages at all, it's safer to use its sha commit, not a named tag that might silently change.

ferbs avatar Apr 26 '24 16:04 ferbs

found them here: registry.scality.com/cloudserver/cloudserver:8.7.23 ;)

Doesn't work anymore unfortunately :( Does anyone know where to get newer docker images?

yaceq avatar May 31 '24 14:05 yaceq

It still works, but you need to find a valid tag. It seems to be a few versions behind the latest release here on github.

You can use skopeo to get a list of tags from a registry: https://github.com/containers/skopeo

With docker cli you can run this to get the list docker run quay.io/skopeo/stable:latest list-tags docker://registry.scality.com/cloudserver/cloudserver

That should output something like this

{
    "Repository": "registry.scality.com/cloudserver/cloudserver",
    "Tags": [
        "0f7f2ca43d21e6163b3c581ba18f333908e60a6f",
        "7.10.0.2",
        "7.10.13-svc-base",
        "7.10.14-svc-base",
        "7.10.15-1-svc-base",
        ...
        "8.8.18-svc-base",
        "8.8.18",
        "8.8.19-svc-base",
        "8.8.19",
        "8.8.2-svc-base",
        "8.8.2",
        "8.8.20-svc-base",
        "8.8.20",
        "8.8.3-svc-base",
        "8.8.3",
        "8.8.4-svc-base",
        "8.8.4",
        "8.8.5-svc-base",
        "8.8.5",
        "8.8.6-svc-base",
        "8.8.6",
        "8.8.7-svc-base",
        "8.8.7",
        "8.8.8-svc-base",
        "8.8.8",
        "8.8.9-svc-base",
        "8.8.9",
        "9e34fbc40e8b72ad75fe45520dbd786df3c11ecf"
    ]
}

Choose your tag and have fun. Good luck!

sysdump avatar Jul 25 '24 08:07 sysdump