Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • I was considering sharing the docker socket. But I don't like the idea of having to install docker in my docker images. It seems a bit dangerous, especially since I don't fully grasp which security vulnerabilities it might open. Watching a folder for files is not going to work either since I need to run different scrips based on some parameters. I would have to have many different folders for each scenario. So this leaves us with executing commands via SSH. This might be the best solution. I'll give it a try, thanks! Commented Nov 25, 2019 at 23:05
  • +1 for the shared volume idea. Polling on a touchfile isn't normally my favorite approach, but it does the job and might be the most straightforward solution, depending on the situation. Commented Jun 13, 2021 at 15:47
  • 1
    Also a great project is github.com/msoap/shell2http. It even allows to send a file through HTTP-Post. So not even a shared volume is needed. Commented Jul 6, 2021 at 16:08