https://prefect.io logo
#prefect-ui
Title
# prefect-ui
t

Tim Helfensdörfer

04/19/2022, 7:49 AM
Hey everyone! Everything seems to be setup correctly so far, but I get the error "Flow is not contained in this Storage". Even though, I can docker exec into the storage in question and execute the python file manually. I've written a more detailed description with the actual code in the GitHub discussion board https://github.com/PrefectHQ/prefect/discussions/5680 - but did not get any responses so far. Does anyone have any idea what I did wrong?
a

Anna Geller

04/19/2022, 10:12 AM
Thanks for sharing your code in the issue - it's easier for us to answer via discourse.prefect.io or here via Slack, but GitHub is also fine even though we are slower there. If you add this line before your registration, the error should be gone:
Copy code
docker_storage.add_flow(flow)
I added a more detailed explanation directly on GitHub
t

Tim Helfensdörfer

04/19/2022, 10:42 AM
Thats great thanks! I will check it out and mark your answer on github as a solution if it works. I just thought that if you pass the storage as a parameter that it's automatically added.
🙌 1
5 Views