Error 500: error
The Docker server returned an error: org.mandas.docker.client.exceptions.DockerRequestException: Request error: GET unix://localhost:80/images/tomaroberts/xnat-rt2nii:latest/json: 200
On May 7, 2024, at 9:53 AM, Tom Roberts <tomor...@gmail.com> wrote:
Hi there,
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/0f6ad0a0-b6ed-4f61-a1b7-2afab79ec250n%40googlegroups.com.
I don’t have a solid estimate, sorry. I have the CS work 95% finished, just need to tie up a few loose ends there. Unfortunately I have gotten delayed fixing a problem a few levels down the stack. This is probably more detail than you were looking for, but here we go.
The core problem is not in CS itself but is in the library we use to talk to docker, docker-client. Our version is old and out of date because they dropped support for Java 8 long ago. Docker v25 changed something in their API in a way that breaks docker-client, and since we are on an out-of-date version and can’t update it seems unlikely we would be able to contribute a fix upstream that would be accepted. We could fork docker-client and fix the problem for ourselves but that puts 100% of the support burden on us into the indefinite future which isn’t feasible. We have been contemplating updating XNAT’s Java version, which would as a side benefit let us update docker-client, but that certainly isn’t going to be done in anything like the next few weeks, or even the next few months. So to get CS working on the latest Docker I needed to switch from docker-client to a different library which still supports Java 8, docker-java. This is not a small task, but it is doable. This is the part I said was 95% finished.
However, during this process I discovered that the library we are switching to, docker-java, is missing support for a small part of the docker API which we rely on for an important CS feature. I opened an upstream ticket about that almost a month ago (https://github.com/docker-java/docker-java/issues/2320), but when no one responded I fixed it myself (https://github.com/docker-java/docker-java/pull/2327). However, I have no confidence that this fix will be merged and released in the upstream library before we need to use it in CS, which means that to release CS as soon as we can we’ll likely need to publish our own version of docker-java for the time being. I feel like this is a better situation than the previous alternative of forking docker-client, because at least now we have a chance of this fix being merged into docker-java and getting CS back using the main line releases.
So where I am at this moment is figuring out how to get my branch of docker-java tested and a jar published in such a way that we can build CS from it. And also, like I said before, finishing up the remaining 5% of CS work.
I’m not sure if this answer will be at all reassuring, but hopefully it is at least informative. I know this issue is impacting people so I wanted to be fully transparent about what I’m doing to fix it.
John Flavin
From:
xnat_di...@googlegroups.com <xnat_di...@googlegroups.com> on behalf of Tom Roberts <tomor...@gmail.com>
Date: Wednesday, May 15, 2024 at 3:55 AM
To: xnat_discussion <xnat_di...@googlegroups.com>
Subject: Re: [XNAT Discussion] Cannot pull Plugin images with xnat-docker-compose + Container Service Plugin setup (MacOS)
You don't often get email from tomor...@gmail.com. Learn why this is important |
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/18bbe758-f287-4eed-b1a8-e18f81a6d660n%40googlegroups.com.
Good morning everyone,
I'm jumping into this discussion because I believe I’m encountering the same issue, and I’d really appreciate some help or insight.
Here’s my setup:
XNAT was installed via Docker using this repo: NRG XNAT Docker Compose
Following the official guide to the Container Service, I run into the following error when trying to Pull New Image:
Error Found: Could Not Pull Image from selected HubHas anyone else experienced this or knows what might be causing it?
Let me know if you need more info. I’d be grateful for any suggestions or fixes.
Thanks in advance!
On Aug 4, 2025, at 8:54 PM, 'Filippo Manini' via xnat_discussion <xnat_di...@googlegroups.com> wrote:
To view this discussion visit https://groups.google.com/d/msgid/xnat_discussion/9135aea9-2cc5-4482-9240-a1a88ba927e7n%40googlegroups.com.