Docker Community Forums

Share and learn in the Docker community.

Streaming UDP from a container

Hello,

I have a quite complicated task in front of me: I need to create 24 containers, each with an individual IP address, streaming UDP generated by ffmpeg from an array of 24 different video files :slight_smile: Sounds easy, eh?

So, since I’m relatively new to Docker, it is confusing and any help would be really appreciated.

The way I see it would be: I need a script with an array of IP addresses and an array of links to video files that would create 24 containers with an IP address and a video file specified. Each container is going to have a ffmpeg installed, so I end up having something like:
udp://[ip1]<9090>
udp://[ip2]<9090>

udp://[ip24]<9090>

Any ideas would be appreciated.

Thank you in advance.

I guess, my first question would be is it worth to specify ip address for each container or to have it auto-assigned instead?