airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pankaj Saha <psa...@binghamton.edu>
Subject Re: Docker - airavata PGA is available!!
Date Fri, 19 Jun 2015 20:44:25 GMT
Yes Marlon I will make it that way.

On Fri, Jun 19, 2015 at 4:43 PM, Pankaj Saha <psaha4@binghamton.edu> wrote:

> we can skip the local host part and try this way too. I believe in this
> case you need not to mention any local host ip even for mac system.
>
> docker run -p *8585:80 *-i -t <image_id> /bin/bash
>
> localhost:8585 should work. I have tested the same in ubuntu.
>
> On Fri, Jun 19, 2015 at 4:04 PM, Pierce, Marlon <marpierc@iu.edu> wrote:
>
>>  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 <psaha4@binghamton.edu>
>> Reply-To: "dev@airavata.apache.org" <dev@airavata.apache.org>
>> Date: Friday, June 19, 2015 at 2:12 PM
>> To: "dev@airavata.apache.org" <dev@airavata.apache.org>
>> 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 <mevan.alles@gmail.com>
>> 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 <marpierc@iu.edu> wrote:
>>>
>>>>  Great!  Please try it out, everyone.
>>>>
>>>>   From: Pankaj Saha <psaha4@binghamton.edu>
>>>> Reply-To: "dev@airavata.apache.org" <dev@airavata.apache.org>
>>>> Date: Thursday, June 18, 2015 at 3:50 PM
>>>> To: "dev@airavata.apache.org" <dev@airavata.apache.org>
>>>> 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:<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
>>>>
>>>
>>>
>>
>

Mime
View raw message