hi prefecters - I’m having an issue with docker st...
# prefect-community
k
hi prefecters - I’m having an issue with docker storage. I’m using a base image that has the environment and all the necessary code to run my flow. This is a conda environment that has prefect installed. When I attempt to store the flow container, it tries to install prefect over top of my conda installed version. This issue is compounded by the fact that the environment is owned by root and not the user of the container. Is there some way to tell prefect to not install the prefect package via pip?
d
Hey @Kevin Weiler! Mind sharing your storage code here?
k
sure thing
Copy code
flow.storage = Docker(
                base_image="<REDACTED>:local",
                local_image=True,
                ignore_healthchecks=True,
                registry_url="<REDACTED>/prefect/",

            )
d
If I don’t find anything obvious I think this may be a good GitHub issue. Prefect does some work to ensure it’s installed in an expected place in the container and I’m not sure we’ve made that configurable.
k
cool - I’ll give a look and make sure there isn’t already a ticket
d
Great, thanks!