vace117 / calibre-dedrm-docker-image Goto Github PK
View Code? Open in Web Editor NEWCalibre + DeDRM + Kindle for PC
Calibre + DeDRM + Kindle for PC
I am running into an issue with invalid mount. I am running on Ubuntu 20.04 and have attached my container inspection. I have googled for a solution but can't seem to fix it. Any help would be appreciated!
docker: Error response from daemon: OCI runtime create failed: invalid mount {Destination:[ Type:bind Source:/var/lib/docker/volumes/dec8871d6f5bc1f75ea0b3be5f1b5ee0f6d3cc8202df634add699cb925e9adf9/_data Options:[rbind]}: mount destination [ not absolute: unknown.
ERRO[0005] error waiting for container: context canceled
Many thanks for your work!
I had trouble using it, but managed to figure it out. The process was not smooth, so I think it may help others by sharing the process (it would be great if you can include something in a troubleshooting section in the README file). Here is the problem I face and how I fixed it.
I ran ./launch_book_manager.sh
as instructed. While README suggests some wizard windows popping up, I didn't observe one. This is the source of the troubles, but I didn't realize at this time. After a few confirmations on command line, I was left at a bash prompt. I tried open calibre
, and it cashed with the following log:
No protocol specified
qt.qpa.xcb: could not connect to display unix:0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Aborted (core dumped)
It turns out the application cannot connect to the display. I managed to fix the problem by running the following on the host, according to ref.
xhost +"local:docker@"
Then I am able to use calibre
, but I cannot run kindle
. It turns out Kindle for PC was never installed. I guess it was because the installer could not connect to display, thus not run. I installed it by running the actual installer with wine, and everything is fine now.
In conclusion, I propose adding a bullet point in the Installation section, suggesting running xhost +"local:docker@"
on the host before installation, so that all these troubles can be avoided.
Thanks for this fantastic project! It worked flawlessly and saved a lot of further trouble trying to decrypt a kindle ebook using the kindle reader program in wine.
One suggestion, would it be possible to also include a mount point or other simple way to access converted ebooks in the docker calibre library from the local host so they could be copied over? In my use case, I do not have a kindle e-reader but wanted to be able to load the converted epubs on my nook using the host install of Calibre. I was able to use the "docker cp" command to do so but maybe there is an easier method.
Thanks for your incredible effort!
Linux Mint 20.1
Docker 5:20.10.73-0ubuntu-focal
It creates the image and container but when I try to start it I get the following error.
"Error": "OCI runtime create failed: invalid mount {Destination:] Type:bind Source:/var/lib/docker/volumes/4b53b46910529411aa4b375cbb1114c543f579d016bb34cd85804120deb713b5/_data Options:[rbind]}: mount destination ] not absolute: unknown",
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.