Sign inSign up

yoohahn/ebook

By yoohahn

•Updated about 7 years ago

Image
0

266

yoohahn/ebook repository overview

Container with Adobe Digital Edition 4.0.3 together with Calibre 1.48.0 running via wine. To build it from scratch go to https://github.com/yoohahn/docker⁠

To use it on Linux follow the instructions: Create a script nano run and add the following

#!/bin/bash -e
SESSIONXAUTH=${XAUTHORITY:-$HOME/.Xauthority}
DOCKER_XAUTH=${SESSIONXAUTH}.docker
cp --preserve=all $SESSIONXAUTH $DOCKER_XAUTH
echo "ffff 0000  $(xauth nlist $DISPLAY | cut -d\  -f4-)" \
    | xauth -f $DOCKER_XAUTH nmerge -

docker create \
	--name ebook \
	-v /etc/localtime:/etc/localtime:ro \
	-v $DOCKER_XAUTH:$DOCKER_XAUTH:ro \
	-v /tmp/.X11-unix:/tmp/.X11-unix  \
	-v $HOME/Documents:/root/.wine/drive_c/host_folder \
	-v $HOME/Documents/Calibre:/root/.wine/drive_c/Calibre\ Portable/Calibre\ Library \
	-e XAUTHORITY=$DOCKER_XAUTH \
	--cpuset-cpus 1 \
	-e DISPLAY=unix$DISPLAY \
	yoohahn/ebook:latest

docker start ebook

While to container is running you can easily access it's content by running docker exec -it ebook start 1 Will start Adobe Digital Edition docker exec -it ebook start 2 Will start Calibre

Enjoy!

Tag summary

Content type

Image

Digest

Size

676.1 MB

Last updated

about 7 years ago

docker pull yoohahn/ebook