expand
authorJoey Hess <joeyh@joeyh.name>
Mon, 10 Mar 2025 21:35:34 +0000 (17:35 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 10 Mar 2025 21:35:34 +0000 (17:35 -0400)
doc/special_remotes/compute/git-annex-compute-singularity-examples.mdwn

index 7613667cdc16c25653738b6e4a58a6b0c2fd6e72..48c9f1e052ba471908052b30939d9abc5ef9a11a 100644 (file)
@@ -68,3 +68,13 @@ documentation for details about these options.
 
 * `--no-compat`
 * `--fakeroot`
+    
+For example, passing the --fakeroot option:
+
+    git-annex addcomputed --to=singularity -- --fakeroot debian.sif foo bar -- baz -- sh -c 'cat foo bar > baz'
+    
+Since singularity happens to also accept `--fakeroot=1` and
+`--no-compat=1`, it's also possible to set these options by
+default in initremote:
+
+    git-annex initremote foo type=compute program=git-annex-compute-singularity passthrough=imageconvert.sif -- --fakeroot=1