cotainr - a user space Apptainer/Singularity container builder.
cotainr makes it easy to build Singularity/Apptainer containers for certain use cases.
cotainr build --base-image docker://ubuntu:24.04 --conda-env <YOUR_CONDA_ENV.yml>The recommended way to install cotainr is using pip:
pip install cotainrAlternatively, you may also simply download, unpack, and run cotainr directly from the bin/ directory, which is possible since cotainr has no external dependencies other than Python and Singularity/Apptainer.
If you are using EasyBuild for managing your software stack, you may use the cotainr-easyconfig.eb EasyConfig as a starting point for installing cotainr via EasyBuild.
The documentation is hosted on Read the Docs.
cotainr is licensed under the European Union Public License (EUPL) 1.2. See the LICENSE file for details.
Your use of cotainr is subject to the terms of the applicable component licenses as listed below. By using cotainr, you agree to fully comply with the terms of these component licenses. If you do not accept these license terms, do not use cotainr.
| Component | License | URL | Cotainr use |
|---|---|---|---|
| Miniforge | BSD 3-clause | Miniforge License | Miniforge is used to bootstrap conda environments when running cotainr build --conda-env... |