From bab6fbce30450f7fe94e1f4d41e572532a3a94d2 Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Sun, 22 Aug 2021 09:16:49 +0900 Subject: [PATCH] Update narou script Add "/" in HOST-DIR like "-v /mnt/Kindle/:/mnt/Kindle". Recent docker-desktop starts requiring this additional "/". The behaviors are below. - "-v /mnt/Kindle:/mnt/Kindle": mount host's ext4 /mnt/Kindle to container. - "-v /mnt/Kindle/:/mnt/Kindle": mount host's drvfs /mnt/Kindle/./ to container. --- narou.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/narou.sh b/narou.sh index fbe27a6..e1e8a4f 100755 --- a/narou.sh +++ b/narou.sh @@ -58,7 +58,7 @@ esac docker run $TTY --rm $opt \ -v /var/run/docker.sock:/var/run/docker.sock \ -v $data:/opt/narou \ - -v /mnt/Kindle:/mnt/Kindle \ + -v /mnt/Kindle/:/mnt/Kindle \ -e NAROU_UID="$( id -u )" \ -e NAROU_GID="$( id -g )" \ -e NAROU_USER="$( id -un )" \