-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We can't run the docker as we want #3
Comments
It is great you are making progress 💯
Credits should go to @allemangD who spent the time to add the script and update the DockerFile. Creating pull request
I noticed you directly added few commits on top of the main branch. The problem is that these commits do not have a descriptive message and where not reviewed. I suggest to do the following: (1) Push your changes in a separate branch called
(2) Revert the main branch to remove the two commits:
(3) Go to https://github.com/DCBIA-OrthoLab/SlicerCMF-docker and create a new pull request Comments
To better answer the questions, could you describe where |
No problem, we will do it.
|
It is probably easiest to just manually Usage in that case would look something like this: $ docker run --rm cmf bash some-script.sh My intent in using $ docker run --rm cmf -c ComputeGLCMFeatures --help
$ docker run --rm cmf some_script.sh I don't think there are any cons to that approach, except that some tools may have some strange behavior from running in a non-interactive login shell. If you're interested you can see those changes in https://github.com/allemangD/SlicerCMF-docker/commit/b98a5f8d67efd9c76cee7034bc17c6ad6d495b95. I would recommend the first approach; just add |
@jcfr
Hello Jean-christophe,
Thank you so much for your work. We have been looking at what you did those weeks and it's perfect.
However we still have one issue that we don't know how to solve.
In the dockerfile that you wrote: "L42: ENTRYPOINT bash --init-file /app/slicer-env.sh"
we understood that when the docker will be run, the first script that will be executed will be the slicer-env.sh bash script.
Our problem is that when we tried to run the following command line:
docker run --rm our_docker_name:latest bash /app/a_bash_script.sh --help
nothing happened.
We tried several approaches and the only one that worked is to copy all the paths in the slicer-env.sh into the dockerfile as ENV. But we don't think it's a "clean" solution.
So we have a couple of questions:
If you need more explanation and/or if you have time, we could schedule a meeting if you are available this week.
Thank you very much,
Sincerely,
Romain and Celia
The text was updated successfully, but these errors were encountered: