Skip to content

Commit

Permalink
Update narou script
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jam7 committed Aug 22, 2021
1 parent 32f4f30 commit bab6fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion narou.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 )" \
Expand Down

0 comments on commit bab6fbc

Please sign in to comment.