For a next step, this needs to run in detached mode instead of putting you 
interactively into the image’s shell (when you exit, the image stops).  The 
command line would be something like "docker run -d  -P --name pga2  
psaha4/airavata_pga”.

Marlon


From: <Pierce>, Marlon Pierce <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Friday, June 19, 2015 at 4:04 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: Docker - airavata PGA is available!!

Working for me on my mac laptop.  For macs, the host machine is a VM itself, so 
instead of 127.0.0.1, you need to find your host’s IP with the command 
"boot2docker ip"

So if output of this command is 192.168.59.103, for example, then use "docker 
run -p 192.168.59.103:8585:80 -i -t <image_id> /bin/bash” and point browser to 
http://192.168.59.103:8585/airavata-php-gateway/public/


Marlon

From: Pankaj Saha <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Friday, June 19, 2015 at 2:12 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: Docker - airavata PGA is available!!

Thanks Mevan for trying this out.

Yes I believe those issues are related to airavata version and php gateways, I 
think when we have stable release these issues wont be there. Soon I will 
publish a Dockerfile so that you can build your own image locally with latest 
stable version.

On Fri, Jun 19, 2015 at 2:06 PM, Mevan Alles 
<[email protected]<mailto:[email protected]>> wrote:
Hi Pankaj,
Thanks, I've tried it on ec2 instance (ubuntu 14.04) and it seems to work okay.

Note : There are however issues with submitting experiments and some visiting 
other pages on php-gateway, but I believe this could be related to build 
versions of airavata & php gateways.

Here is the public url for instance : 
http://52.25.151.133:8080/airavata-php-gateway/public/

Thanks & Regards,
Mevan

On Fri, Jun 19, 2015 at 3:57 AM, Pierce, Marlon 
<[email protected]<mailto:[email protected]>> wrote:
Great!  Please try it out, everyone.

From: Pankaj Saha <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Thursday, June 18, 2015 at 3:50 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Docker - airavata PGA is available!!

Hello Developers,

Docker airavata PGA is available!!

I have published one docker image for airavata PGA at the following public 
repository.

Airavata_pga<https://registry.hub.docker.com/u/psaha4/airavata_pga/>

please pull the image and run containers to check if pga is working in your 
environment.


This docker image in based on Ubuntu and Apache Airavata PGA 0.15 branch
How to pull this image:

docker pull psaha4/airavata_pga

Note: This is a public image repository so no credentials will be required

How to build a running container:

To build a container and run it use the below docker command

docker run -p 127.0.0.1<http://127.0.0.1>:<HOST_PORT>:80 -i -t <IMAGE_ID> 
/bin/bash

Note:

HOST_PORT(Ex: 8585) is where host system want to listen the PGA service. Inside 
container its running at port 80, but after running the container host system 
can use the delivered HOST_PORT

To check IMAGE_ID, use command “ docker images”

This will list all available images with image id and repository name.

How to test the container:

If running container was successful then host system can access the Airavata 
PGA service in the desired HOST_PORT. lets consider HOST_PORT is 8585 here,now 
open any browser window and type

http://localhost:8585/airavata-php-gateway/public/

You should be able to see the gateway interface.


Thanks
Pankaj


Reply via email to