![]() |
#1 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jul 2024
Device: Kindle Scribe
|
Docker container - need to access other volumes
I've installed Calibre in a docker container. It wants to look for my eBooks in /config/Calibre... but all of my eBooks (60GB) are on a share on /volume2/eBooks. How can I make Calibre/docker access my other volume? I did not allocate 'data' space on volume1 - only apps!
Thanks! |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,262
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you want to specify a path to a library use the command line arguments. If you want to control locations of various other directories use the environmnet variables documented in the manual. https://manual.calibre-ebook.com/cus...ment-variables
|
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jul 2024
Device: Kindle Scribe
|
Thanks for the quick response. I will look at environment variables, but I think all I need is just the location of my ebook library. I don't know how to give a docker container 'command line arguments' - so I'll have to figure that out.
Thanks! |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,262
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
My advice would be to ditch docker, it provides nothing useful and just complicates your life. calibre binaries are already largely self contained, there is zero reason to dockerize them.
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jul 2024
Device: Kindle Scribe
|
Interesting... I have no love for Docker, it just seemed if Plex could access external media, so could Calibre? I looked at the environment variables, and while I can change the location of the database, I did not see anything to change the media path outside of the container. I also could not find anything in command-line options. This may be a testament to my inability to comprehend what I'm reading? - hehe.
So can I set up Calibre (web?) on my NAS server and use via web interface? This way I can use Calibre from all my devices? |
![]() |
![]() |
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,262
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre --with-library /path/to/calibre/library/folder
calibre --help to learn about the command line options |
![]() |
![]() |
![]() |
#7 | |
Leftutti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 415
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
Quote:
I think I set it up via Docker Compose back then and you can specify all the details in the yaml file |
|
![]() |
![]() |
![]() |
#8 | |
Weirdo
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 695
Karma: 8910012
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Tolino Shine Color, Tolino Vision 6, Kobo Clara 2E, Boox Note Air 2+
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jul 2024
Device: Kindle Scribe
|
Yes, I did change the /volume1/docker/calibre:/:config:rw to /volume2/mypathto/ebooksshare:/config:rw... and it works just fine. Calibre is up and running in the docker container - accessing my ebooks share on another volume
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Links not rewriting in Docker Container | koesac | Recipes | 0 | 06-19-2023 09:30 AM |
Cannot access web server of Calibre running on Docker | ygreq | Server | 3 | 09-27-2022 12:16 PM |
Running Calibre in a Docker container: How can I connect to my Kobo? | TheRealJohnAdams | Server | 1 | 03-21-2022 01:27 AM |
MacOS: Two Calibre Volumes | elektronaut | Calibre | 0 | 02-04-2021 08:37 PM |
Splitting a Book into 2 Volumes? | TedPark | Workshop | 14 | 06-13-2008 12:11 PM |