<div dir="ltr">Dear Juan Sebastian and Gate users<div><br></div><div>Thank you very much for your reply.</div><div><br></div><div>I have successfully moved data to amazon Linux machine using FileZilla. Now I need to copy this from amazon Linux to the docker container.</div><div><br></div><div>Still a little error about docker image selection. </div><div><br></div><div>Can anybody know what is the proper name of Gate docker image to specify as a destination during copy command<b> (/var/lib/docker/ .....)</b>?</div><div><br></div><div><br></div><div>Thank you for your cooperation.</div><div><br></div><div><font color="#ff0000">Error : Must specify at least one container source</font></div><div><br></div><div><img src="cid:ii_kv82j8pd0" alt="image.png" width="497" height="322"><br></div><div><br></div><div><br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><br></div><div>Regards</div><div><br></div><div><div><font color="#666666"><b>KHALID HUSSAIN </b>|</font> <font color="#bf9000"><b>PhD Scholar</b></font></div><div><font color="#073763" face="times new roman, serif"><b>Universiti Putra Malaysia (UPM), Malaysia</b></font></div><div><font face="times new roman, serif">Email:<a href="mailto:hussain.khalid@student.upm.edu.my" target="_blank">hussain.khalid@student.upm.edu.my</a></font></div><div><font face="times new roman, serif">Cell: <font color="#0000ff"><u>+60-11-6455-2354</u></font></font></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 26, 2021 at 1:33 PM Juan Sebastian Useche Parra <<a href="mailto:js.useche10@uniandes.edu.co" target="_blank">js.useche10@uniandes.edu.co</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="en-DE">
<div>
<p class="MsoNormal"><span lang="ES-CO">Hi Khalid,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="ES-CO"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">I’m not familiar with AWS, so I’ll assume Gate is already running through Docker there, and you can do “docker run -it opengatecollaboration/gate:imageVersion”. For running a macro,
you have to copy the project files into the working directory of the container with something like this:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">docker run -v /path/to/local/project/files:/APP opengatecolaboration/gate:imageVersion “main.mac”<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">if you are running several simulations in parallel, I would recommend to add parameters to your macro files (<a href="https://opengate.readthedocs.io/en/latest/how_to_run_gate.html#running-parameterized-macros" target="_blank">https://opengate.readthedocs.io/en/latest/how_to_run_gate.html#running-parameterized-macros</a>)
and then a script in bash? to execute all the “docker run” commands with the parameters.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Cheers,<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="en-DE" style="color:rgb(68,68,68);background:white">Juan Sebastian Useche</span><span lang="en-DE" style="color:rgb(68,68,68)"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Khalid Hussain <<a href="mailto:khalidhussain1134@gmail.com" target="_blank">khalidhussain1134@gmail.com</a>>
<br>
<b>Sent:</b> Monday, 25 October 2021 14:36<br>
<b>To:</b> gate-users <<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a>><br>
<b>Subject:</b> Re: [Gate-users] Docker on AWS ec2, macro upload<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Dear Gate Users,<br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<pre style="white-space:pre-wrap"><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)">I want to use <a href="https://opengate.readthedocs.io/en/latest/docker_gate.html#id3" target="_blank">AWS</a><a href="https://opengate.readthedocs.io/en/latest/docker_gate.html#id3" target="_blank"> ec2 server for Gate simulation</a>. I have set up the AWS ec2 docker image of Gate and want to start the simulation. </span><span style="color:black"><u></u><u></u></span></pre>
<div>
<p class="MsoNormal">Can you please suggest how can I run my own macro to ec2 Amazone server using docker Gate?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I am using Putty to connect with ec2 using SSH protocol.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Maybe my question is not proper, I am sorry for that<br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Mon, Oct 25, 2021 at 12:56 PM Khalid Hussain <<a href="mailto:khalidhussain1134@gmail.com" target="_blank">khalidhussain1134@gmail.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal">Dear Gate Users,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I have set up the AWS ec2 docker image of Gate and want to start the simulation. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Can anyone please suggest how can I upload macro to ec2 Amazone server to run Gate docker?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I am using Putty to connect with ec2 using SSH protocol.<br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thank you.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote></div>