Run docker filebot-cli from other container

Support for Ubuntu and other Desktop Linux distributions
Post Reply
tresi
Posts: 12
Joined: 30 Jun 2019, 15:51

Run docker filebot-cli from other container

Post by tresi »

Hello,

I am trying to get Filebot running in a docker container and have a comprehension problem:

There are two containers with shared NFS shares on the same host. In one container Sabnzbd is running, in the other Filebot.

Using a post-processing script in the Sabnzbd container, I want to call filebot via command-line in the other container. Logically this does not work that way. How can I do that?

Thanks a lot in advance!

Best regards
tresi
User avatar
rednoah
The Source
Posts: 19144
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Run docker filebot-cli from other container

Post by rednoah »

tresi wrote: 28 Jul 2020, 20:22 Using a post-processing script in the Sabnzbd container, I want to call filebot via command-line in the other container. Logically this does not work that way. How can I do that?
It's effectively two different machines, so they can only communicate via the network. A general solution would be to have Container A use SSH to log into Container B to run commands.


A solution specific to FileBot containers would be using FileBot Node and setting up prepared tasks which you can then kick off remotely via HTTP requests:
https://hub.docker.com/repository/docke ... ah/filebot
Once the FileBot Node Service is running, you can access the web interface via http://localhost:5452/filebot/. You can create prepared tasks via Execute ➔ Schedule and then execute them remotely via curl http://localhost:5452/task?id=${TASK_ID}.
:idea: Please read the FAQ and How to Request Help.
tresi
Posts: 12
Joined: 30 Jun 2019, 15:51

Re: Run docker filebot-cli from other container

Post by tresi »

Hi,

thanks for your support.

I had it figured. But it's no problem, I'll build my own Docker image which contains everything I need :-)

Many greetings
tresi
Post Reply