https://prefect.io logo
Title
p

Philip MacMenamin

07/14/2020, 6:33 AM
Hey - I'm having an issue running a Flow within Docker (https://docs.prefect.io/orchestration/tutorial/docker.html#persisting-your-flow-with-docker-storage) I've set
prefect backend server
Started
prefect agent start docker
Copied the Hello Docker flow from the web page above, Registered that flow, it created the image without issue:
`Successfully tagged hello-docker:2020-07-14t05-57-08-042222-00-00
Flow: <http://localhost:8080/flow/e25b220f-c9e4-4051-9f00-20ca88122a99>`
and submit a run via the GUI server running on localhost:8080. The run enters a state of Submitted and does not seem to get any further, it stays in that state.
👍 1
k

karteekaddanki

07/14/2020, 8:57 AM
Docker agent runs the flow but the server backend doesn't update the state of the task or the logs.
j

josh

07/14/2020, 11:04 AM
Hey @Philip MacMenamin and @karteekaddanki can you start your agent with the
--show-flow-logs
flag and see if there is any extra output?
p

Philip MacMenamin

07/14/2020, 1:09 PM
Hey Josh - thanks for the response. yes, here you go: https://gist.github.com/philipmac/895d14feceda868e63be34f5953dd325
j

josh

07/14/2020, 1:10 PM
Okay so it looks like the container is having an issue communicating back to your server API. Could you open an issue on the repo with some more information (system, how you started the server, etc.)? Much easier to triage on there as opposed to slack 🙂
p

Philip MacMenamin

07/14/2020, 1:11 PM
j

josh

07/14/2020, 1:12 PM
Yep!
p

Philip MacMenamin

07/14/2020, 1:12 PM
Got it. I'll link from here once I've created the Issue.
k

karteekaddanki

07/14/2020, 3:17 PM
Thanks @Philip MacMenamin for the PR. I'm seeing exactly the same issue on my end as well.
👍 1