Skip to content

Commit

Permalink
fix: allow to bind dirs on remote host (#111)
Browse files Browse the repository at this point in the history
Don't check if directories exist on the local host before mounting them.
  • Loading branch information
plexoos authored Aug 2, 2024
1 parent 9ffe563 commit 1d52510
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions esi-shell
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,7 @@ do
if [[ ${DOCKER_BIND_VOLUME-} =~ $(basename $dir) ]]; then
continue
fi
if [ -d $dir ]; then
DOCKER_BIND_VOLUME="${DOCKER_BIND_VOLUME-} -v $dir:$dir"
fi
DOCKER_BIND_VOLUME="${DOCKER_BIND_VOLUME-} -v $dir:$dir"
done
#if [ `uname -m` = "arm64" ]; then
Expand Down

0 comments on commit 1d52510

Please sign in to comment.