Dear users,
we have installed the singularity
companion singularity-compose
:
[sagon@login2 ~] $ ml GCC/9.3.0 Singularity/3.7.3-GCC-9.3.0-Go-1.14 singularity-compose/0.0.21-Python-3.8.2
[sagon@login2 ~] $ singularity-compose -h
usage: singularity-compose [-h] [--debug] [--version] [--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}] [--file FILE] [--project-name PROJECT_NAME] [--project-directory WORKING_DIR] [--env-file ENV_FILE]
{version,build,config,create,up,restart,down,exec,run,shell,logs,ps} ...
Singularity Compose
optional arguments:
-h, --help show this help message and exit
--debug use verbose logging to debug.
--version, -v print version and exit.
--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
logging level
--file FILE, -f FILE specify compose file (default singularity-compose.yml)
--project-name PROJECT_NAME, -p PROJECT_NAME
specify project name (defaults to $PWD)
--project-directory WORKING_DIR
specify project working directory (defaults to compose file location)
--env-file ENV_FILE an environment file to source
actions:
Orchestration for Singularity containers
{version,build,config,create,up,restart,down,exec,run,shell,logs,ps}
scompose actions
version show software version
build Build or rebuild containers
config Validate and view the compose file
create create instances
up build and start containers
restart stop and start containers.
down stop instances
exec execute a command to an instance
run run an instance runscript.
shell shell into an instance
logs view output from instances
ps list instances