Hi there,
after having trouble to port existing applications, I have added a line of code to the shinyproxy implementation to log the location of the log file for each started docker container. This was very helpful while troubleshooting .
The container log file location resides within the ContainerInfo object.
Axel
diff --git a/src/main/java/eu/openanalytics/services/DockerService.java b/src/main/java/eu/openanalytics/services/DockerService.java
index d2cf827…4589b0d 100644
— a/src/main/java/eu/openanalytics/services/DockerService.java
+++ b/src/main/java/eu/openanalytics/services/DockerService.java
@@ -259,6 +259,7 @@
dockerClient.startContainer(container.id());
ContainerInfo info = dockerClient.inspectContainer(container.id());
-
log.info("LogPath: " + info.logPath().toString()); proxy.name = info.name().substring(1); proxy.containerId = container.id(); proxy.startupTimestamp = System.currentTimeMillis();