Convert ebooks to Kindle format
120
docker run -it --name mobi techantidote/calibre bash
-Copy the ebook to the container.
docker cp e-book.epub mobi:/
-Convert to mobi format:
ebook-convert e-book.epub my-kindle.mobi
-Copy converted file to your docker host.
docker cp mobi:/my-kindle.mobi .
[Alternatively, use a bind mount while running the container]
FROM ubuntu:18.04
RUN apt update && apt upgrade && apt install wget python -y
RUN wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | bash /dev/stdin
CMD ["bash"]
Content type
Image
Digest
Size
201.9 MB
Last updated
over 7 years ago
docker pull techantidote/calibre