Skip to content

Commit

Permalink
Updated basecontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
bbfrederick committed Nov 17, 2023
1 parent 853488e commit 9297655
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 41 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Start from the fredericklab base container
#FROM fredericklab/basecontainer:v0.2.8
FROM fredericklab/basecontainer:latest
FROM fredericklab/basecontainer:v0.2.9.1

# get build arguments
ARG BUILD_TIME
Expand Down
77 changes: 38 additions & 39 deletions testdocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,48 +19,47 @@ docker run \
--nprocs 4 \
--noglm

docker run \
--rm \
--ipc host \
--mount type=bind,source=/Users/frederic/code/rapidtide/rapidtide/data/examples,destination=/data \
-it \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-u rapidtide fredericklab/rapidtide:latest \
rapidtide \
/data/src/sub-RAPIDTIDETEST.nii.gz \
/data/dst/sub-RAPIDTIDETEST_disabledockermemfix \
--disabledockermemfix \
--passes 3 \
--nprocs 4 \
--noglm
#docker run \
# --rm \
# --ipc host \
# --mount type=bind,source=/Users/frederic/code/rapidtide/rapidtide/data/examples,destination=/data \
# -it \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -u rapidtide fredericklab/rapidtide:latest \
# rapidtide \
# /data/src/sub-RAPIDTIDETEST.nii.gz \
# /data/dst/sub-RAPIDTIDETEST_disabledockermemfix \
# --disabledockermemfix \
# --passes 3 \
# --nprocs 4 \
# --noglm

exit

docker run \
--rm \
--ipc host \
--mount type=bind,source=/Users/frederic/code/rapidtide/rapidtide/data/examples,destination=/data \
-it \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-u rapidtide fredericklab/rapidtide:latest \
happy \
/data/src/sub-HAPPYTEST.nii.gz \
/data/src/sub-HAPPYTEST.json \
/data/dst/sub-HAPPYTEST \
--model model_revised \
--mklthreads -1
#docker run \
# --rm \
# --ipc host \
# --mount type=bind,source=/Users/frederic/code/rapidtide/rapidtide/data/examples,destination=/data \
# -it \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -u rapidtide fredericklab/rapidtide:latest \
# happy \
# /data/src/sub-HAPPYTEST.nii.gz \
# /data/src/sub-HAPPYTEST.json \
# /data/dst/sub-HAPPYTEST \
# --model model_revised \
# --mklthreads -1

docker run \
--rm \
--ipc host \
--mount type=bind,source=/Users/frederic/code/rapidtide/rapidtide/data/examples,destination=/data \
-it \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-u rapidtide fredericklab/rapidtide:latest \
gmscalc \
/data/src/sub-RAPIDTIDETEST.nii.gz \
/data/dst/sub-RAPIDTIDETEST_GMS \
--dmask /data/src/sub-RAPIDTIDETEST_brainmask.nii.gz
#docker run \
# --rm \
# --ipc host \
# --mount type=bind,source=/Users/frederic/code/rapidtide/rapidtide/data/examples,destination=/data \
# -it \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -u rapidtide fredericklab/rapidtide:latest \
# gmscalc \
# /data/src/sub-RAPIDTIDETEST.nii.gz \
# /data/dst/sub-RAPIDTIDETEST_GMS \
# --dmask /data/src/sub-RAPIDTIDETEST_brainmask.nii.gz

docker run \
--network host\
Expand Down

0 comments on commit 9297655

Please sign in to comment.