Skip to content

Commit

Permalink
add macos docker fix to desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
stebo85 committed Dec 12, 2024
1 parent c3935a4 commit 9047ff8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/jupyter/environment_variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ export MPLCONFIGDIR=/home/${NB_USER}/.config/matplotlib-mpldir

export PATH=$PATH:/home/${NB_USER}/.local/bin:/opt/conda/bin:/opt/conda/condabin

# workaround for docker on MacOS
export neurodesk_singularity_opts=" -w "

# this adds --nv to the singularity calls -> but only if a GPU is present
if [ "$(lspci | grep -i nvidia)" ]
then
Expand All @@ -44,4 +47,4 @@ fi

export PS1='\u@neurodesktop-$NEURODESKTOP_VERSION:\w$ '

alias ll='ls -la'
alias ll='ls -la'

0 comments on commit 9047ff8

Please sign in to comment.