inductiva containers [-h] {convert,list,ls,remove,rm,upload} ...
Manage custom simulation containers.
The inductiva containers command provides utilities for managing user-defined containers, including converting Docker images to Apptainer-compatible .sif files and uploading them to your private Inductiva remote storage for use in simulations.
inductiva containers convert [-h] image output
The inductiva containers convert command converts a Docker image into a Singularity Image Format (SIF, .sif) file using the Apptainer.
The Docker image can be specified as a Docker Hub URL, a local Docker image reference, or a .tar archive.
This can be useful for users that want to see the conversion result and test the SIF file before uploading it to the remote storage.
None)None)
# Convert a local image to SIF
$ inductiva containers convert my-image:latest ./my-image.sif
# Convert a Docker Hub image to SIF
$ inductiva containers convert docker://python:3.11-slim ./python.sif
inductiva containers list [-h] [--max-results MAX_RESULTS] [folder]
The inductiva containers list command lists all container files in remote storage under the default containers folder (my-containers/), including their size and estimated cost.
You can also specify other container folders to list their contents.
None)MAX_RESULTS, MAX_RESULTS - Maximum number of container files to list. (default: 10)
$ inductiva containers list
NAME SIZE CREATION TIME
container1.sif 200.00 MB 26/03, 16:41:14
container2.sif 100.00 MB 26/03, 16:41:14
container3.sif 300.00 MB 26/03, 16:41:14
Total storage size used:
Volume: 0.59 GB
Cost: 0.02 US$/month
inductiva containers remove [-h] -n NAME [-y] [folder]
The inductiva containers remove command removes a specific container file from your Inductiva remote storage. If no folder is specified, defaults to my-containers/.
Use the flag --yes to skip confirmation prompts.
This action is irreversible and should be used with caution.
my-containers/)NAME, NAME - Name of the container file to remove. (default: None)
# Remove a container with confirmation
$ inductiva containers rm -n nginx.sif
# Remove a container without confirmation prompt
$ inductiva containers rm -n nginx.sif -y
# Remove a container from a specific folder
$ inductiva containers rm my-custom-folder -n my-container.sif
inductiva containers upload [-h] [-f] image [output_path]
Converts a Docker image (from Docker Hub, a local image, or a .tar file) into a SIF file using Apptainer, stores it in a temporary folder, and uploads that folder to your Inductiva remote storage, making it available for use with the Inductiva API.
None)None)
# Convert and upload a local Docker image
$ inductiva containers upload my-simulation-image
# Convert and upload a Docker Hub CFD image (SU2) with a custom storage path
$ inductiva containers upload docker://su2code/su2:latest my-containers/su2cfd.sif