docker container fails to start

43 views
Skip to first unread message

roman....@gmail.com

unread,
Nov 11, 2022, 6:47:58 AM11/11/22
to xnat_discussion
Hi all, 

I came back from the really great workshop in London and I started to deploy a xnat in a docker container on my linux machine (Ubuntu 20.04).

Everything works well except that docker seems not to be able to start a container (xnat/dcm2niix). I think, this is probably due to writing permissions, but I am not sure. 

Has anyone ever encountered this problem before?  

any help is more than welcome 

Sandro 

------------
This is my docker-compose :
docker-compose version 1.29.2, build 5becea4c
docker-py version: 5.0.0
CPython version: 3.7.10
OpenSSL version: OpenSSL 1.1.0l  10 Sep 2019

and this is my docker version:

Client: Docker Engine - Community
 Version:           20.10.3
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        48d30b5
 Built:             Fri Jan 29 14:33:13 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.3
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       46229ca
  Built:            Fri Jan 29 14:31:25 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.3
  GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
 runc:
  Version:          1.0.0-rc92
  GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0


akluiber

unread,
Nov 11, 2022, 11:23:50 AM11/11/22
to xnat_discussion
Something I always forget when setting up a dockerized XNAT is adjusting the processing URL and path translation to make the container service work.

Maybe this is the issue?

- Alex

kel...@wustl.edu

unread,
Nov 14, 2022, 5:54:53 PM11/14/22
to xnat_discussion
Hi Sandro,
This does sound like a permission issue.  Are you able to start a container using the Docker command line interface (CLI), e.g. 
'docker run busybox echo hello'?

If so, you might check that the xnat user, or the system user running tomcat, can also run Docker commands.  

Let me know how that goes.

Best,
Matt

roman....@gmail.com

unread,
Nov 15, 2022, 5:37:57 AM11/15/22
to xnat_discussion
Hi Matt, 

Many thanks for replying and for your help throughout the last two days of the workshop!

 It was my fault. As Alex wrote I forgot to set the correct path translation. Now everything works properly.  

All the Best, 

Sandro 


Reply all
Reply to author
Forward
0 new messages