Page 1 of 1
Docker, Yacreader and Terminal
Posted: 23 Jul 2021, 16:06
by Roberbond
hi!
I bought the FD221 yesterday so I didn't have experience with the NAS. But I have configured almost everything
But I would like to install a Yacreader server, to read comics from my iPad and storage all my comics in the NAS.
I have followed this guide:
https://yacreader.com/forum/support-lin ... docker-nas
, installing the docker app and running, but I have to use the terminal and input this line to make the library.:
Code: Select all
YACReaderLibraryServer add-library Gammenon /comics [/b]
I know I can enter the NAS by SSH, but I have enter that line of code in the docker as the instructions says.
Can I do it?
Re: Docker, Yacreader and Terminal
Posted: 24 Jul 2021, 00:05
by djonesuk
ssh into the NAS as admin and type
Code: Select all
docker exec gammenon YACReaderLibraryServer add-library Gammenon /comics
Re: Docker, Yacreader and Terminal
Posted: 24 Jul 2021, 00:33
by Roberbond
Hi! thanks for the answer.
I tried it but I got the answer:
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.29/containers/gammenon/exec: dial unix /var/run/docker.sock: connect: permission denied
I have accessed by SSH with my only user that have access to all the folders. I don't have an admin user.
Re: Docker, Yacreader and Terminal
Posted: 24 Jul 2021, 01:01
by djonesuk
Works for me as admin but trying running it as root with sudo.
Re: Docker, Yacreader and Terminal
Posted: 24 Jul 2021, 01:03
by Roberbond
sorry I am a total noob. I don't know how to do that

Re: Docker, Yacreader and Terminal
Posted: 24 Jul 2021, 02:23
by Roberbond
I finally entered as super user with the code:
I tried the command but I got the error:
Error response from daemon: No such container: gammenon
I suppose the container is the docker container name...
so I changed the docker name to Robcomic and entered the code:
docker exec robcomic YACReaderLibraryServer add-library Robcomic /Comics
but I got the same error:
Error response from daemon: No such container: robcomic
Re: Docker, Yacreader and Terminal
Posted: 24 Jul 2021, 03:05
by Roberbond
I finally did it!.
there was something wrong in the code. I change the add-library by create-library.
Code: Select all
docker exec Robcomic YACReaderLibraryServer create-library Robcomic /comics
