Docker Community Forums

Share and learn in the Docker community.

Some Docker Deluge help is needed


#1

Ok im a noob in docker and trying to figure out things after the road, i have installed Docker Deluge
and want to run a test.sh script from the execute script, i use /mnt/test.sh from there. But i think deluge doesnt find the path outside the container because i get this error:

[WARNING ] 08:28:10 core:132 [execute] command ‘/mnt/test.sh’ failed with exit code 1
[WARNING ] 08:28:10 core:136 [execute] stderr: Upon execvpe /mnt/test.sh [’/mnt/test.sh’, ‘2377abc2da782847f1d01bd104ce3ca04f9e7b8b’, ‘This is a Torrent’, ‘/mnt/download’] in environment id 140532285764784
:Traceback (most recent call last):
File “/usr/local/lib/python2.7/dist-packages/twisted/internet/process.py”, line 445, in _fork
environment)
File “/usr/local/lib/python2.7/dist-packages/twisted/internet/process.py”, line 523, in _execChild
os.execvpe(executable, args, environment)
File “/usr/lib/python2.7/os.py”, line 355, in execvpe
_execvpe(file, args, env)
File “/usr/lib/python2.7/os.py”, line 370, in _execvpe
func(file, *argrest)
OSError: [Errno 2] No such file or directory

the script itself is only a small test file and looks like:
#!/bin/bash
date >> test.txt