I tried installing all my dependenices in a docker...
# announcements
r
I tried installing all my dependenices in a docker image and provided that in remote execution
Copy code
(flyte)  raviraja@ip-192-168-124-8  ~/Desktop/python-monorepo/taxonomy/taxonomy/flows/flyte_flows   flyte_demo  pyflyte run --remote --image flyte_image:latest cluster_creation_flow.py:reason_clusters_pipeline
In the UI it is coming as
p
Can you check if the docker registry containing flyte_image:latest is accesible to flyte remote .
r
flyte_image:latest is in my local machine
p
And where are you running your flyte remote ?
r
locally
p
are you able to perform
docker pull flyte_image:latest
locally And also how have you started up the flyte environment .
r
I am using the
flytectl demo start
command locally
are you able to perform
docker pull flyte_image:latest
locally
no. Unable to do this.
Copy code
Error response from daemon: pull access denied for flyte_image, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
p
How did you build the image
flyte_image:latest
also are you try the getting started guide https://docs.flyte.org/en/latest/getting_started/index.html#
r
How did you build the image
flyte_image:latest
also are you try the getting started guide
docker build -t flyte_image:latest ~/Desktop/python-monorepo -f ~/Desktop/python-monorepo/taxonomy/taxonomy/flows/flyte_flows/Dockerfile
Yes I am using getting started guide. and it is mentioned there to use
--image
to use a custom image. I provided the image i built with that command.
Check the remote flyte cluster section on this page for building images
Sure will try it
p
Also you can publish this image to ghcr.io https://github.com/features/packages and then provide that image to flyte . You will need to tag the image with your registry name eg :
Copy code
docker tag <image-name>:<version> <http://ghcr.io/<yourorg>/<image-name>:<version|ghcr.io/<yourorg>/<image-name>:<version>>
docker login <http://ghcr.io|ghcr.io> -u <your-github-username>

password would be your PAT  <https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token>
❤️ 1
170 Views