Is there a way to get a dockerstorage based flow to listen on a port? Similar to publishing a port when a container is run? I’ve got a device that will only backup to an ftp server. I’m wanting my flow to listen for connections on a public port. Is there a different design pattern recommended?
k
Kevin Kho
04/22/2021, 2:19 AM
Hi @Garret Cook! I’m not understanding 100% quite yet. What do you mean by listen on a port? Do you just want a port open to pass data or are you trying to listen to trigger the flow?
g
Garret Cook
04/22/2021, 2:34 AM
Just get my dockerstorage based container to listen for passing data after the flow starts. Going to have a task setup a process in the container to listen for data, and another task trigger the remote device to backup to that container, then save the result to S3.
Garret Cook
04/22/2021, 2:34 AM
Does that clarify at all?
k
Kevin Kho
04/22/2021, 3:04 AM
I think so. Will check with the team and get back to you tom.
g
Garret Cook
04/22/2021, 3:07 AM
brilliant, thanks
k
Kevin Kho
04/22/2021, 1:49 PM
Hey Garrett, you can create a custom image that exposes a given port but there won’t be any broadcasting by the flow on that port. Unfortunately, in general, running the container this way is not a use case we have support for.