What would be the way to load a certain binary from a certain container in docker from inside another container?

container 1: web container 2: ffmpeg

I would want to call ffmpeg binary living in container 2 from the container 1. Confused on how to process this


No, you can't do it straight forward.

You can do one of the following:

  • Make your web container communicate with ffmpeg container using RPC/agent.
  • Use queue service, so your ffmpeg container listen to the queue job.
  • Run docker inside docker.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.