public static String getParentIdFromAgent ( Launcher launcher , final String imageID , final String host ) throws IOException , InterruptedException { return launcher . getChannel ( ) . call ( new MasterToSlaveCallable < String , IOException > ( ) { public String call ( ) throws IOException { return DockerUtils . getParentId ( imageID , host ) ; } } ) ; }
Get image parent ID from imageID on the current agent .