クラス DockerCommandLocator


  • public class DockerCommandLocator
    extends java.lang.Object
    Find the full file path of "docker" command in the current OS environment. Uses "which" command on Unix-flavord OS; use "where" command on Windows. E.g, on my MacBook, "/usr/local/bin/docker", not "docker" on Windows, it could be something like "C:\\Program Files\\Docker\\Docker\\resources\\bin\\docker.exe"