This matches what the docker adaptor is doing for execution. It gets the container image ID by loading the annex key into podman.
14 lines
853 B
Text
14 lines
853 B
Text
[datalad "dataset"]
|
|
id = eca069c6-f79d-4ed5-bee8-cebea17709cb
|
|
[datalad "containers.podman"]
|
|
image = docker-archive/nipy-heudiconv--1.3.3.tar.gz
|
|
cmdexec = podman run -v $(readlink -f .):/tmp -w /tmp --rm --interactive $(gzip -d -c {img} | podman load -q | cut -d : -f2-) {cmd}
|
|
[datalad "containers.docker"]
|
|
image = oci
|
|
cmdexec = {python} -m datalad_container.adapters.docker run {img} {cmd}
|
|
[datalad "containers.apptainer"]
|
|
image = apptainer/nipy-heudiconv--1.3.3.sing
|
|
cmdexec = apptainer exec --no-home {img} bash -c 'PATH=/opt/dcm2niix-v1.0.20240202/bin:$PATH /opt/miniconda-py39_4.12.0/bin/heudiconv {cmd}'
|
|
[datalad "containers.singularity"]
|
|
image = apptainer/nipy-heudiconv--1.3.3.sing
|
|
cmdexec = singularity exec --no-home -B .:$(pwd) {img} bash -c 'PATH=/opt/dcm2niix-v1.0.20240202/bin:$PATH /opt/miniconda-py39_4.12.0/bin/heudiconv {cmd}'
|