Class ContainerPathResolver

java.lang.Object
org.aksw.jenax.engine.docker.common.ContainerPathResolver

public class ContainerPathResolver extends Object
  • Method Details

    • resolvePath

      public static Path resolvePath(ContainerPathResolver containerPathResolver, Path path)
    • create

      public static ContainerPathResolver create()
    • resolve

      public Path resolve(Path containerPath)
    • findSelfByHostname

      public static com.github.dockerjava.api.command.InspectContainerResponse findSelfByHostname() throws IOException
      Find and inspect the container that matches this process's hostname.
      Returns:
      InspectContainerResponse of the matching container
      Throws:
      IOException - if /etc/hostname can't be read
      RuntimeException - if the container cannot be found