docker-command

How to execute command from one docker container to another

旧时模样 提交于 2020-11-24 19:01:25
问题 I'm creating an application that will allow users to upload video files that will then be put through some processing. I have two containers. Nginx container that serves the website where users can upload their video files. Video processing container that has FFmpeg and some other processing stuff installed. What I want to achieve. I need container 1 to be able to run a bash script on container 2. One possibility as far as I can see is to make them communicate over HTTP via an API. But then I