Container support

The following new feature affects LSF support for containers.

Docker container names

You can now enable LSF to automatically assign a name to a Docker container when it creates the Docker container.

To enable this feature, set the ENABLE_CONTAINER_NAME parameter to True in the lsfdockerlib.py file.

When running a container job, specify the --name option in the options keyword configuration for LSF to assign a name to the container.

The container name uses the following naming convention:

  • Normal jobs and blaunch parallel job containers: <cluster_name>.job.<job_id>
  • Array jobs and array blaunch parallel job containers: <cluster_name>.job.<job_id>.<job_index>
  • blaunch parallel job task containers: <cluster_name>.job.<job_id>.task.<task_id>
  • Array blaunch parallel job task containers: <cluster_name>.job.<job_id>.<job_index>.task.<task_id>