Does anyone have experience running Docker on Grid Engine / Sun Grid Engine / Son of Grid Engine and being able to monitor the resource used by the daemon? The issue is that when I qsub docker run ...
, the actual process in the container is run by the docker
daemon rather than the docker
client which means the process trees are different.
Is there any way for SGE to track the resources of a process in a different tree (I would assume not)?
Another option would be to qsub
a script that first launches the docker daemon and then runs the desired docker run
command so that all processes are in the same process tree launched by SGE. This would require that sge have permissions to launch the daemon (root access) and could also result in multiple docker daemons running on the host.
Another problem with the alternative process tree is if the job submitted specified daemeon (-d
). In this case the docker client would finish, but the docker daemon might still be running the container