Anyone have success running CPAI in Docker?
-
Has anyone else had success running CodeProject AI in a Docker container? I've spent days trying to troubleshoot what is going on with my deployment without success. Here's my setup: At the base I'm running ESXi. Blue Iris is running in a Win10 VM. For the Docker setup, I'm running PhotonOS in a VM, with Portainer on top to give me a GUI for Docker. Inside Docker, I'm pulling in the codeproject/ai-server image. I'm using macvlan as the networking config to give it an IP on the LAN. The CPAI container spins up fine, I can access the web GUI fine. I can ping it from the BI server. But it doesn't respond to any kind of requests. I've noticed that if I go into the CPAI Explorer, none of the models are showing up except for a few that appear to be defaults. If I load up an image in Explorer and ask it to analyze it, nothing happens. I just get a timeout and no logs generated. I've triple checked that I've got the model folder mapped to "/app/modules/ObjectDetectionYolo/custom-models". I've ssh'd to the container and verified the models show up in there, but CPAI doesn't seem to recognize them.
-
Has anyone else had success running CodeProject AI in a Docker container? I've spent days trying to troubleshoot what is going on with my deployment without success. Here's my setup: At the base I'm running ESXi. Blue Iris is running in a Win10 VM. For the Docker setup, I'm running PhotonOS in a VM, with Portainer on top to give me a GUI for Docker. Inside Docker, I'm pulling in the codeproject/ai-server image. I'm using macvlan as the networking config to give it an IP on the LAN. The CPAI container spins up fine, I can access the web GUI fine. I can ping it from the BI server. But it doesn't respond to any kind of requests. I've noticed that if I go into the CPAI Explorer, none of the models are showing up except for a few that appear to be defaults. If I load up an image in Explorer and ask it to analyze it, nothing happens. I just get a timeout and no logs generated. I've triple checked that I've got the model folder mapped to "/app/modules/ObjectDetectionYolo/custom-models". I've ssh'd to the container and verified the models show up in there, but CPAI doesn't seem to recognize them.
-
There is a specific forum for CodeProject AI Server issues at CodeProject.AI Discussions[^].
Oops - didn't realize that. THanks!
-
Oops - didn't realize that. THanks!
Yes, it seems it is not very well publishe. There is also How to Run CodeProject.AI Server in Docker[^] by the great @sean-ewington.
-
Has anyone else had success running CodeProject AI in a Docker container? I've spent days trying to troubleshoot what is going on with my deployment without success. Here's my setup: At the base I'm running ESXi. Blue Iris is running in a Win10 VM. For the Docker setup, I'm running PhotonOS in a VM, with Portainer on top to give me a GUI for Docker. Inside Docker, I'm pulling in the codeproject/ai-server image. I'm using macvlan as the networking config to give it an IP on the LAN. The CPAI container spins up fine, I can access the web GUI fine. I can ping it from the BI server. But it doesn't respond to any kind of requests. I've noticed that if I go into the CPAI Explorer, none of the models are showing up except for a few that appear to be defaults. If I load up an image in Explorer and ask it to analyze it, nothing happens. I just get a timeout and no logs generated. I've triple checked that I've got the model folder mapped to "/app/modules/ObjectDetectionYolo/custom-models". I've ssh'd to the container and verified the models show up in there, but CPAI doesn't seem to recognize them.
Anyone have then let me know i need to use for my website https://www.emiratesevisaonline.com