I'm trying to run prefect in the docker container,...
# ask-community
c
I'm trying to run prefect in the docker container, using a local agent for it but the flow run does not complete the execution. In terminal get these logs, it goes as
deploying-->completed deployment-->returned with exit code -11!
, Attaching the screenshot. What is the
exit code -11!
here and how can I solve this issue.
In docker-compose, there are 3 containers DB, prefect, and rest-API, the rest-api registers and starts the flow. the prefect container executes the below commands • prefect server start • prefect create project 'project' • prefect agent local start --no-hostname-label
m
Hello! Oftentimes, exit code -11 means "segmentation fault", can you check if you provide enough memory?
c
seems like there is enough memory provided.
Here one more thing I would like to add is that I'm able to create and delete flow, it is just that the task does not start. this is what logs and run history look like in UI.
The prefect agent was running in a different docker container earlier, so when I started the agent in the same container in which the API is running, it worked.