[Gate-users] Docker image "8.2-docker"

Thomas BAUDIER thomas.baudier at creatis.insa-lyon.fr
Mon Jun 28 11:22:34 CEST 2021


Hi Francesca,

The behavior you described are the behavior of the previous Gate docker 
(v9.0). So we copy the behavior when we updated the docker image last 
month. I do not know which option is the better for the community 
between /bin/bash option and mac/main.mac option.
If you want to modify the docker image for your own goal you can use 
this script 
(https://github.com/OpenGATE/Gate/blob/develop/source/docker/DockerFileGate) 
and change the Entrypoint and Cmd lines.

Best regards
Thomas

On 25/06/2021 09:11, Francesca De Benetti wrote:
> Dear GATE users,
>
> I would like to use the docker image 
> /opengatecollaboration/gate:8.2-docker/ on a server managed with 
> polyaxon (in the past I have been using without any problem 
> /opengatecollaboration/gate:8.2/, but for benchmarking purposes I need 
> /opengatecollaboration/gate:8.2-docker/).
>
> After experiencing problems in the server with 
> /opengatecollaboration/gate:8.2-docker, /I tried to run in on my 
> ubuntu machine for debugging. In the attachment you can see the 
> different behaviour of the two images when I try to run it in docker 
> (for completeness, what is highlighted in yellow, is what I write in 
> the terminal):
>
>   * Page 1 - /opengatecollaboration/gate:8.2-docker/: after the run
>     command is entered, I can type “Gate” to initialise the
>     simulation, and then “/control/execute test.mac” to actually run
>     it. Alternatively, also typing “Gate test.mac” works. Please note
>     that the test.mac file doesn’t exist so, as expected, Gate gives
>     an error.
>   * Page 3 - /opengatecollaboration/gate:8.2-docker/: after the run
>     command is entered, the simulation is initialised and it
>     automatically looks for a “mac/main.mac” file. The fact that the
>     image needs a “mac/main.mac" to be run is, in my opinion, not
>     optimal because doesn’t allow to choose the desired mac file.
>   * Page 4 - /opengatecollaboration/gate:8.2-docker: /if the run
>     command includes “/bin/bash”, the behaviour is the expected one!
>
>
> Despite begin able to use /opengatecollaboration/gate:8.2-docker/ in 
> the expected way on my local ubuntu machine, that doesn’t help me to 
> run it on the polyaxon server.
>
> If you have any hint about how to run 
> /opengatecollaboration/gate:8.2-docker/ in the expected way in 
> polyaxon or have any idea ho to “modify” the docker image (I believe 
> that the difference between the two docker images is in the 
> “Entrypoint” and “Cmd” settings), that would be highly appreciated!
>
> Thank very much for your help!
>
>
> Best regards,
>
> Francesca
>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20210628/07ae47b9/attachment-0001.html>


More information about the Gate-users mailing list