Apptainer: OSError: [Errno 30] Read-only file system: '/home/qiime2/q2cli'

Container: docker://quay.io/qiime2/amplicon:2024.10

If someone is running QIIME 2 in Apptainer and encounters the error: OSError: [Errno 30] Read-only file system: '/home/qiime2/q2cli', you can resolve it by binding a directory where you have write permissions to /home/qiime2. This allows QIIME to create the necessary cache directory.

To do this, use either of the following methods:

  • Add the CLI option: -B $WRITABLE_DIR:/home/qiime2

  • Set an environment variable: export APPTAINER_BIND=$WRITABLE_DIR:/home/qiime2

2 Likes

Hey @Daniel_Esteban_Palma,

Thanks for reaching out and sharing this suggestion! In our latest updates to the Docker env files we discovered this issue, and are planning to roll out a fix for this in our upcoming release (2025.4). You can follow the issue here, for reference.

For any other folks who run into this in the interim, we have a similar solution suggested in this thread.

Cheers :lizard:

3 Likes

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.