[Gate-users] Docker on AWS ec2, macro upload

Khalid Hussain khalidhussain1134 at gmail.com
Tue Oct 26 14:38:29 CEST 2021


Dear Juan Sebastian and Gate users

Thank you very much for your reply.

I have successfully moved data to amazon Linux machine using FileZilla. Now
I need to copy this from amazon Linux to the docker container.

Still a little error about docker image selection.

Can anybody know what is the proper name of Gate docker image to specify as
a destination during copy command* (/var/lib/docker/ .....)*?


Thank you for your cooperation.

Error : Must specify at least one container source

[image: image.png]



Regards

*KHALID HUSSAIN *| *PhD Scholar*
*Universiti Putra Malaysia (UPM), Malaysia*
Email:hussain.khalid at student.upm.edu.my
Cell: *+60-11-6455-2354*


On Tue, Oct 26, 2021 at 1:33 PM Juan Sebastian Useche Parra <
js.useche10 at uniandes.edu.co> wrote:

> Hi Khalid,
>
>
>
> 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:
>
>
>
> docker run -v /path/to/local/project/files:/APP
> opengatecolaboration/gate:imageVersion “main.mac”
>
>
>
> if you are running several simulations in parallel, I would recommend to
> add parameters to your macro files (
> https://opengate.readthedocs.io/en/latest/how_to_run_gate.html#running-parameterized-macros)
> and then a script in bash? to execute all the “docker run” commands with
> the parameters.
>
>
>
> Cheers,
>
>
>
> Juan Sebastian Useche
>
>
>
>
>
> *From:* Khalid Hussain <khalidhussain1134 at gmail.com>
> *Sent:* Monday, 25 October 2021 14:36
> *To:* gate-users <Gate-users at lists.opengatecollaboration.org>
> *Subject:* Re: [Gate-users] Docker on AWS ec2, macro upload
>
>
>
> Dear Gate Users,
>
>
>
> I want to use AWS <https://opengate.readthedocs.io/en/latest/docker_gate.html#id3> ec2 server for Gate simulation <https://opengate.readthedocs.io/en/latest/docker_gate.html#id3>. I have set up the AWS ec2 docker image of Gate and want to start the simulation.
>
> Can you please suggest how can I run my own macro to ec2 Amazone server
> using docker Gate?
>
>
>
> I am using Putty to connect with ec2 using SSH protocol.
>
>
>
> Maybe my question is not proper, I am sorry for that
>
>
>
>
>
> On Mon, Oct 25, 2021 at 12:56 PM Khalid Hussain <
> khalidhussain1134 at gmail.com> wrote:
>
> Dear Gate Users,
>
>
>
> I have set up the AWS ec2 docker image of Gate and want to start the
> simulation.
>
> Can anyone please suggest how can I upload macro to ec2 Amazone server to
> run Gate docker?
>
>
>
> I am using Putty to connect with ec2 using SSH protocol.
>
>
>
> Thank you.
>
>
>
> Regards
>
>
>
> _______________________________________________
> 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/20211026/f25ab62e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 61635 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20211026/f25ab62e/attachment-0001.png>


More information about the Gate-users mailing list