Unable to access jar file in Docker image
1
0
Entering edit mode
5.0 years ago
ysas ▴ 10

I am loading a Docker image and trying to run under Shifter. However, I had the following error: "Unable to access jarfile pilon-1.23.jar"

My script is here: shifter --image=ttubb/pilon java -Xmx60G -jar pilon-1.23.jar

Here is the link to the docker image: https://hub.docker.com/r/ttubb/pilon/dockerfile

I guess that the jar file would be saved under a specific folder name, however, I cannot locate the folder. If you know any tips of finding the jar file location, could you please tell me how to do it? It will be of great help and learning for me.

Thanks.

genome • 15k views
ADD COMMENT
2
Entering edit mode
5.0 years ago
MatthewP ★ 1.4k

Hello, as docker file WORKDIR /software, so .jar will under /software, maybe /software/pilon.jar.

I don't know Shifter, but on linux, you can run docker image use interactive mode(-it), which way you can search your files derictly "inside" container. Maybe you can google how to run docker interactive mode on Shifter.

ADD COMMENT
0
Entering edit mode

Thank you very much. I found the jar file under /software. I will also check how to run docker interactive mode on Shifter for my future use.

Many thanks.

ADD REPLY

Login before adding your answer.

Traffic: 1655 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6