Hey, I’m trying for the first time to use a custom...
# ask-metaflow
b
Hey, I’m trying for the first time to use a custom docker image to run data through a specific function that sits inside the image and get the functions results. I want to: 1. first step will be fetching the data 2. run through the image function and return the results 3. Do something with the results. I mostly need help with step number 2. How should I approach this?
1
a
Hey Tomer! You can use the
image
attribute for
@batch
/
@kubernetes
decorators to specify the image for your second step
within the second step, you can invoke the image function to process the data that was generated in step 1
b
Hi @square-wire-39606 👋 Thanks! I was able to do that
a
perfect! I hope you are enjoying metaflow!