Skip to content

Commit

Permalink
Update neurodesktop.toml
Browse files Browse the repository at this point in the history
add persistent homedirectory option
  • Loading branch information
stebo85 authored Oct 29, 2023
1 parent 77508ed commit 3b1bd99
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions data/neurodesktop.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,25 @@ base="""sudo docker run \\
-e NB_UID="$(id -u)" -e NB_GID="$(id -g)" \\
-p 8888:8888"""

[linux-home]
base="""docker volume create neurodesk-home \\
sudo docker run \\
--shm-size=1gb -it --privileged --user=root --name neurodesktop \\
-v ~/neurodesktop-storage:/neurodesktop-storage \\
--mount source=neurodesk-home,target=/home/jovyan \
-e NB_UID="$(id -u)" -e NB_GID="$(id -g)" \\
-p 8888:8888"""

[windows]
base="""docker run \
--shm-size=1gb -it --privileged --user=root --name neurodesktop \
-v C:/neurodesktop-storage:/neurodesktop-storage \
-p 8888:8888"""

[windows-home]
base="""docker volume create neurodesk-home \\
docker run \
--shm-size=1gb -it --privileged --user=root --name neurodesktop \
-v C:/neurodesktop-storage:/neurodesktop-storage \
--mount source=neurodesk-home,target=/home/jovyan \
-p 8888:8888"""

0 comments on commit 3b1bd99

Please sign in to comment.