Skip to content

Commit e23a846

Browse files
✏️ Remove extra -v
Co-authored-by: Amy Gutierrez <[email protected]>
1 parent dfa5b8f commit e23a846

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/_sources/developer/templates.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,13 @@ You can use `.github/Dockerfiles/cpac_templates.Dockerfile <https://github.com/F
5959
.. code:: BASH
6060
6161
docker build -t cpac_templates:custom -f .github/Dockerfiles/cpac_templates.Dockerfile . # <-- run in your modified fork or branch of FCP-INDI/C-PAC_templates
62-
docker run --rm -dit --name=CPACTemplates -v cpac_templates:/cpac_templates ghcr.io/fcp-indi/c-pac_templates:latest # <-- Start a daemon image with your custom templates
63-
docker run --rm -it -v --volumes-from CPACTemplates fcpindi/c-pac:nightly $BIDS_DIR $OUTPUTS_DIR participant # <-- Use C-PAC as usual, but bind the custom /cpac_templates
62+
docker run --rm -dit \
63+
--name=CPACTemplates \
64+
-v cpac_templates:/cpac_templates \
65+
ghcr.io/fcp-indi/c-pac_templates:latest # <-- Start a daemon image with your custom templates
66+
docker run --rm -it \
67+
--volumes-from CPACTemplates \
68+
fcpindi/c-pac:nightly $BIDS_DIR $OUTPUTS_DIR participant # <-- Use C-PAC as usual, but bind the custom /cpac_templates
6469
docker attach CPACTemplates # <-- Clean up when you're done
6570
exit # <-- Clean up when you're done
6671

0 commit comments

Comments
 (0)