[jbosstools-issues] [JBoss JIRA] (JBIDE-22274) Show In->System Explorer on docker volume is not working when the volume is just a file (not a directory)
Radim Hopp (JIRA)
issues at jboss.org
Fri Apr 29 07:38:00 EDT 2016
Radim Hopp created JBIDE-22274:
----------------------------------
Summary: Show In->System Explorer on docker volume is not working when the volume is just a file (not a directory)
Key: JBIDE-22274
URL: https://issues.jboss.org/browse/JBIDE-22274
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: docker
Affects Versions: 4.4.0.Alpha1
Environment: JBDS 10.0.0.Alpha1-v20160428-0509-B5247
Reporter: Radim Hopp
Start docker container with -v parameter pointing to some file. For example: "docker run -d -p 5000:5000 -v /home/rhopp/temp/config.yml_new:/etc/docker/registry/config.yml --name registry1 registry:2"
Go to Docker Explorer, expand running container->right click on the only volume in there->Show In->System Explorer-> Error is logged:
{noformat:title=Failed to open in Web Browser}
java.io.IOException: Cannot run program "/bin/sh" (in directory "/home/rhopp/temp/config.yml_new"): error=20, Not a directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at org.eclipse.linuxtools.internal.docker.ui.commands.ShowInSystemExplorerCommandHandler.getLaunchProcess(ShowInSystemExplorerCommandHandler.java:99)
at org.eclipse.linuxtools.internal.docker.ui.commands.ShowInSystemExplorerCommandHandler.access$0(ShowInSystemExplorerCommandHandler.java:96)
at org.eclipse.linuxtools.internal.docker.ui.commands.ShowInSystemExplorerCommandHandler$1.run(ShowInSystemExplorerCommandHandler.java:65)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.IOException: error=20, Not a directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 5 more
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list