-
Hi, I need some help with prefect (prefecthq/prefect:2.6.6-python3.9). I'm not able to use a private registry on Scaleway (it's a french cloud provider).
My deployment looks like this :
When I try to launch a flow, it raises a 403 error : permission denied. If I change the permission of my image from private to public. Prefect is able to pull my image. Do you know what is the problem ?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I answer to my question. I did a typo in my code.. In should be like this : |
Beta Was this translation helpful? Give feedback.
I answer to my question. I did a typo in my code..
In the DockerContainer class, we have to set the image_registry attribute not registry.
In should be like this :
docker = DockerContainer(networks=["net_backend"], image="rg.fr-par.scw.cloud/mynamespace/prefect:latest", image_registry=registry)