CLI Reference

The scitex-container CLI provides unified container management for Apptainer and Docker.

Global Options

scitex-container [OPTIONS] COMMAND [ARGS]...

Options:
  --version          Show version and exit.
  --help-recursive   Show help for all commands recursively.
  --help             Show this message and exit.

Apptainer Commands

build

Build a SIF container from a definition file.

scitex-container build [OPTIONS]

list

List all available container versions.

scitex-container list [OPTIONS]

switch

Switch the active container version.

scitex-container switch VERSION

rollback

Roll back to the previous container version.

scitex-container rollback [OPTIONS]

deploy

Deploy a container version to the active slot.

scitex-container deploy VERSION

cleanup

Remove old container versions to free disk space.

scitex-container cleanup [OPTIONS]

verify

Verify a container can be executed successfully.

scitex-container verify [OPTIONS]

Sandbox Commands

scitex-container sandbox COMMAND [ARGS]...

sandbox create

Convert a SIF to a writable sandbox directory.

scitex-container sandbox create [OPTIONS]

sandbox to-sif

Convert a sandbox directory back to a SIF.

scitex-container sandbox to-sif [OPTIONS]

Docker Commands

scitex-container docker COMMAND [ARGS]...

docker rebuild

Rebuild Docker Compose services.

scitex-container docker rebuild [OPTIONS]

docker restart

Restart running Docker services.

scitex-container docker restart [OPTIONS]

Host Commands

scitex-container host COMMAND [ARGS]...

host install

Install host-side packages (TeX Live, ImageMagick, etc.).

scitex-container host install [OPTIONS]

host check

Check status of required host packages.

scitex-container host check [OPTIONS]

Status Dashboard

scitex-container status [OPTIONS]

Displays a unified dashboard showing the status of Apptainer containers, Docker services, and host package installations.

Environment Snapshot

scitex-container env-snapshot [OPTIONS]

Capture a reproducibility snapshot of the current environment (Python packages, container versions, host configuration).

MCP Commands

scitex-container mcp COMMAND [ARGS]...

mcp install

Install the MCP server configuration for Claude Code.

scitex-container mcp install