Hello Prashant,

I will be happy to help you.
Can you please elaborate the issue a little bit? I a not sure if you are
running the Docker image on the local machine or running the
Airavata inside a virtual machine. If you are running the docker image then
the command to start Airavata server should be the command (CMD) for the
container. CMD can be set while building the image or can be used in an
entry point (ENTRYPOINT) script.

Can you please share your Dockerfile and explain the issue again.

Thanks
Pankaj


On Wed, Oct 17, 2018 at 11:48 AM Modak, Prashant Kumar <[email protected]>
wrote:

> Hi Pankaj,
> I am facing an issue. I cloned the airavata repository(
> https://github.com/apache/airavata.git) and after building(mvn clean
> install) it,
> I ran it using command: sh airavata-server-start.sh -d api-orch.
> It ran properly and I can see the airvata image also but its not showing
> any process running.
>
> prashant@prashant-VirtualBox:~/Desktop/airavata/modules/distribution/src/main/resources/bin$
> ps -ef | grep airavata
> prashant  3536  3379  0 11:38 pts/0    00:00:00 grep --color=auto airavata
>
> So the same this is happening with my Dockerfile script also. Please
> provide any insight upon this.
>
> Will be very thankful.
>
> Thanks and Regards,
> Prashant
> ________________________________________
> From: Pankaj Saha [[email protected]]
> Sent: Sunday, October 7, 2018 2:01 PM
> To: dev
> Subject: Re: facing issue when trying to create docker image of Airavata
>
> Glad it worked.
>
> Thanks
> Pankaj
>
> On Sun, Oct 7, 2018 at 2:55 PM Modak, Prashant Kumar <[email protected]
> <mailto:[email protected]>> wrote:
> Hi Pankaj,
> It worked thanks.
>
> Regards,
> Prashant
> ________________________________________
> From: Pankaj Saha [[email protected]<mailto:[email protected]>]
> Sent: Saturday, October 6, 2018 4:11 PM
> To: dev
> Subject: Re: facing issue when trying to create docker image of Airavata
>
> while running the docker build, it can not see any file/directory outside
> of the current context.
> so if your Dokerfile located in a directory, it will load that directory
> and any subdirectories of it as the current context. Placing the Dockerfile
> in /home is not a good idea as this will take a long time to load entire
> /home and all its content.
>
> So as a solution, place Dockerfile where the SNAPSHOT is getting generated
> after compilation. it should work.
>
>
> On Sat, Oct 6, 2018 at 5:00 PM Modak, Prashant Kumar <[email protected]
> <mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>>
> wrote:
> Hi Dev,
> I am facing issue while trying to create docker image of Airavata project.
> I have create a Dockerfile, in which i have added a COPY command,
> while trying to run COPY
> /home/prashant/Desktop/airavata/modules/distribution/target/apache-airavata-server-0.17-SNAPSHOT-bin.tar.gz
> apache-airavata-server.tar.gz
> it's giving me exception:
> COPY failed: stat
> /var/lib/docker/tmp/docker-builder209765050/home/prashant/Desktop/airavata/modules/distribution/target/apache-airavata-server-0.17-SNAPSHOT-bin.tar.gz:
> no such file or directory
>
> I check for this issue online and tried multiple ways to resolve it, but
> the issue still exists.
>
> Please advice, if anyone faced the same issue.
>
> Thanks and Regards.
> Prashant
>

Reply via email to