Hello, any experience how to lunch containers in p...
# prefect-community
r
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
d
Hi @Rafal, 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
r
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
d
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?
r
Ideally would be to run and write flow on their own