Replies: 6 comments 4 replies
-
hi @DANAJK I've converted this to a Discussion (new github feature, I've just enabled it for this repo) which seems more appropriate. Your experiments prompted me to try this as well. Reactions and some comments from my own:
I haven't tried starting |
Beta Was this translation helpful? Give feedback.
-
I tried it first in a VM in case I ended up doing I have since been trying it on another Mac Book using Docker directly without an explicit VM. Installation was smooth but at the moment I can't get Gadgetron running... |
Beta Was this translation helpful? Give feedback.
-
I have now done Docker's 101 tutorial - which I can recommend: https://www.docker.com/101-tutorial . (If you are on a Mac, I suggest regularly having a look at the Docker Dashboard to see the effect of the command line commands). I have a couple of questions: 2.) I see that the possibility of doing |
Beta Was this translation helpful? Give feedback.
-
I currently experience very slow start-up of a new container. ( When doing this with a service instance and pressing Ctrl-C a few times, it turned out it was busy doing the conda install in I have therefore 2 questions:
|
Beta Was this translation helpful? Give feedback.
-
ah nobody @ mentioned me so never saw this thread.
|
Beta Was this translation helpful? Give feedback.
-
Closing this as I believe all of this has been resolved, or is out-of-date |
Beta Was this translation helpful? Give feedback.
-
I'm relaying my experience with Docker SIRF to either get feedback or guide improvements in our documentation.
I've tried with some success to get the Docker version of SIRF going on my MacBook Pro. I decided to use a Virtual Machine to avoid risking my Mac set up. Arrangement:
MacBook Pro running macOS Catalina (10.15.7)
VMware Fusion Version 11.5.6
From VMware Fusion, created a new Ubuntu-64bit machine.
From Ubuntu web site, downloaded ubuntu-20.04.1-desktop-amd64.iso
I forget exactly, but I think I had to make this iso a CD in the VM to get it to install.
Within the VM, typed 'docker' and followed the instructions for how to install Docker.
Followed the link in the SIRF SuperBuild/docker README.md file to the Git release site with docker-compose, I clicked on 1.28.0-rc1 and from the Assets section, downloaded
docker-compose-Linux-x86_64
. (Note there is duplicate documentation on the SIRF Wiki that should probably just point to the README)I did some faffing with paths etc on the VM but eventually as sudo I moved this binary to
/usr/local/bin
(possibly an incorrect move - I now see that it can be installed easily usingsudo apt install docker-compose
).Cloned the SIRF-SuperBuild.
From here on, most
docker
ordocker-compose
or./sirf-compose
commands would only run successfully to completion if I preceded them withsudo
. (Evendocker ps
complains about permission denied for a Docker daemon socket unless I sudo it.)We need a note that the first time you run
sirf-compose
it will take a long time to install everything.I was unable to run the notebook due to lack of disk space. I extended my VM size from 20Gb to 40Gb. Then, within the Ubuntu VM, used the
Disks
app to increase the root filesystem partition size. (This seemed to work despite others on the internet having trouble - note I had to first Resize an overlapping partition before I could Resize the partition I needed).I failed to realise at first the distinction between
sirf-compose
andsirf-compose-server
.However, once clear, the Jupyter notebook works and I ran a SIRF example (note the delay before localhost:9999 will work can be more than 'a few seconds'). This was a PET example. When I tried to start Gadgetron from a Jupyter terminal, there was a conflicting port for the REST port, I tried a different number and got a bit further but still an error.
Following the README instructions, the SIRF command line interface works, including Gadgetron. I noticed that the
grappa_basic.py
creates a file calledoutput.h5.h5
so something is wrong there.So, thanks for setting up all the Docker stuff. Any feedback on the above would be welcome.
Beta Was this translation helpful? Give feedback.
All reactions