...
Code Block | ||
---|---|---|
| ||
/n/cluster/container-scanning/bin/cl-submit-container --help |
...
Basic cl-submit-container
tool usage takes the following form:
Code Block | ||
---|---|---|
| ||
$ /n/cluster/bin/cl-submit-container [image_source] |
...
Code Block | ||
---|---|---|
| ||
$ /n/cluster/container-scanning/bin/cl-submit-container --status
Job Name Status Log file
nginx.dockerfile FAILED /n/app/singularity/userlogs/<HMSID>/nginx.dockerfile-2024-07-25T09:51:19.log |
If a container fails to install, you can run the command /n/cluster/container-scanning/bin/cl-submit-container -r
to see a detailed log of the process.
...
Create a Singularity image called nginx with the nginx container pulled from Docker Hub URI:
Code Block language bash $ /n/cluster/container-scanning/bin/cl-submit-container -n nginx docker://nginx:latest
Create a Singularity container called genomics from a Dockerfile (note:
-n genomics
is used to name the image genomics instead of genomics_workflow)Code Block language bash $ /n/cluster/container-scanning/bin/cl-submit-container -n genomics ~/CONTAINERS/working_dir/genomics_workflow.dockerfile
Create a Singularity container from a Singularity definition file:
Code Block language bash $ /n/cluster/container-scanning/bin/cl-submit-container ~/ollama.def