Run a Script From a Docker Container


Recommended Posts

I'm attempting to use the Tatulli docker notification agent to run a script to pause parity check while someone is streaming.  I've setup the notification agent in a similar way to the example in this link:

https://github.com/uraid/qbittorrent_throttle

 

And have created a script (ResumeParityCheck.sh below) to call a Parity Tuning Plugin CLI command and placed it in a few different folders but Tatulli throws up a permission error when I try to run the script from within the webGUI: "Tautulli Notifiers :: Failed to run script: [Errno 13] Permission denied: '/scripts/ResumeParityCheck.sh'"

 

ResumeParityCheck.sh

#!/bin/bash
/usr/local/emhttp/webGui/scripts/parity_control resume

 

Anyone have any idea how to successfully call a script that interacts with the main console from within a docker?  Any help is appreciated!

 

Edited by MTerracciano
Posted before I was finished
Link to comment
  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.