Hello, any experience how to lunch containers in prefect? How to make this container accessible on localhost port? I mean running containers in workflow and make them accessible during pipeline execution
06/25/2020, 1:27 PM
To use containerized environments for workflows, check out: https://docs.prefect.io/api/latest/environments/storage.html#docker
Whether the containers are accessible during pipeline execution depends on where and how you set them up. If your docker agent can communicate with Prefect Server / Prefect Cloud, you should be good to go.
If I didn’t answer your question, can you tell me a bit more about your use case and goal? I’ll do my best to help
06/25/2020, 2:25 PM
Thank you @Dylan. I am not sure. The task is to make analyst work easier - in theory they will click button "lunch R container" and url with container should appear which is accessible by user on specific url for example
06/25/2020, 7:11 PM
Hmmm. Do you plan on your analysts writing their own Prefect Flows? Or are they writing R scripts that are executed by a Flow that you manage?
07/08/2020, 3:13 PM
Ideally would be to run and write flow on their own