-
Notifications
You must be signed in to change notification settings - Fork 3
Description
I started the docker as follows:
docker run -d --name=subtitleedit -e TZ=Europe/Berlin -e WIDTH=1280 -e HEIGHT=720 -e USER_ID=1044 -e GROUP_ID=1000 -p 5805:3389 -p 5806:8080 -v /volume1/docker/subtitleedit:/config:rw -v /volume1/video/Rips_mkv:/media:rw fresta/subtitleedit
User ID and Group ID is needed on my Synology NAS to have enough rights accessing the media folder. This works in the GUI without problems.
Now I tried to use the command line feature of Subtitle Edit:
docker exec subtitleedit /convert /list
but had no success:
rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "exec: \"/convert\": stat /convert: no such file or directory"
With this I'm able to use the shell inside of the Subtitle Edit container:
docker exec -it subtitleedit sh
For example I can use cd media and with ls I can see the content of my media folder through the command line. Then I tried this:
/SubtitleEdit/SubtitleEdit.exe /convert /list
It returns:
sh: 24: /SubtitleEdit/SubtitleEdit.exe: Permission denied
I'm not sure if Subtitle Edit supports the command line in Linux at all?!