scality / cloudserver

Zenko CloudServer, an open-source Node.js implementation of the Amazon S3 protocol on the front-end and backend storage capabilities to multiple clouds, including Azure and Google.
https://www.zenko.io/cloudserver
Apache License 2.0
1.69k stars 240 forks source link

Docker image and version confusion #4986

Open ferbs opened 1 year ago

ferbs commented 1 year ago

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?

b091 commented 1 year ago

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

c-w commented 1 year ago

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

ndtreviv commented 4 months ago

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

ferbs commented 4 months ago

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.

yaceq commented 3 months ago

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?

sysdump commented 1 month ago

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!