Durgai Vel
08/23/2023, 6:20 AM$ pyflyte register workflows/ -p flytesnacks -d development -v v1 -i "image:tag"
also in my code, at the task decorator, I specified the image_pull_policy="Never"
. It was registered successfully, but when I tried executing the workflow from the flyte UI, the pod failed due to image not found. When further examined, local iamges are not directly visible to the nodes or pods, also I heard about the flyte's docker registery
. How can I use this to make my local docker image to be available to my node to be pulled. How to push docker images to flyte's local docker registry.Samhita Alla
Durgai Vel
08/23/2023, 6:55 AMImageSpec
to build the docker image on the fly and then execute the task within the container, as the rest of the conversations doesn't seem to relate to this query.
But is there any way I can make use of already build docker image existing on local machine to be used when executing the task,
is there any way I can register my image to localhost:30000 docker registrySamhita Alla
docker push localhost:30000/<image_name>:<tag>
pyflyte run
or pyflyte register
command.
pyflyte run --remote --image <your_image> <python_file> <name_of_the_task_or_workflow>
Durgai Vel
08/23/2023, 9:05 AM