Hello! I am new to Flyte and I am wondering if there is more documentation about how to use custom images in the demo remote environment? I am running into issues trying to build and run a custom container. Specifically, I would like to build a container on my local machine and then have the demo instance pull and use that container for execution.
f
freezing-airport-6809
11/07/2023, 11:03 PM
push the image to any registry - because iiuc you are running the demo container on some remote machine and port forwarding?
freezing-airport-6809
11/07/2023, 11:04 PM
or you can portforward the inbuilt registry
l
late-jordan-5671
11/13/2023, 4:56 PM
@freezing-airport-6809 Hey, sorry for the late reply, had some urgent stuff come up 🙂 Thank you for your help! How do I port forward the inbuilt registry? I just want to pull an image from my machine to use.
late-jordan-5671
11/13/2023, 4:59 PM
FYI I am using the demo single cluster remote deployment
late-jordan-5671
11/13/2023, 5:02 PM
I'd like to do something like:
Copy code
custom_image = ImageSpec(
base_image="my-image:0", # my-image is something I built on my local machine
)
@task(container_image=custom_image)
def my-func():
pass