Hi
We need to run LSF command from a docker session.
By changing the name of the running container to match the hostname of the hosting host we are able to run : bjobs and bsub in batch mode.
We have issue submitting interactive jobs or running with -K and when using bwait.
I guess this is related to configuration of port forwarding for the docker .
Any Idea how I can configure the port forwarding for LSF ?
i.e.
For connecting with ssh to the container we add to docker run
-p 2222:22
When running interactive -I it exits with error and hangs,
$ bsub -I sleep 2
Job <947616> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<< Job <947616> exited with exit code 255. >>
^C
Job <947616>: Job has already finished
When running with -K the job ends but the prompt hangs
$ bsub -K sleep 2
Job <948024> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
^C
Job <948024>: Job has already finished
when running bwait it hangs forever
$bwait -w "ended ( JOBID )"
Thanks,
-- Shali --
------------------------------
Shali Boharon
------------------------------