Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Artificial Intelligence
  3. Anyone have success running CPAI in Docker?

Anyone have success running CPAI in Docker?

Scheduled Pinned Locked Moved Artificial Intelligence
sysadmindockerquestiondevopshelp
5 Posts 3 Posters 11 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member_15985092
    wrote on last edited by
    #1

    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.

    L E 2 Replies Last reply
    0
    • M Member_15985092

      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.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      There is a specific forum for CodeProject AI Server issues at CodeProject.AI Discussions[^].

      M 1 Reply Last reply
      0
      • L Lost User

        There is a specific forum for CodeProject AI Server issues at CodeProject.AI Discussions[^].

        M Offline
        M Offline
        Member_15985092
        wrote on last edited by
        #3

        Oops - didn't realize that. THanks!

        L 1 Reply Last reply
        0
        • M Member_15985092

          Oops - didn't realize that. THanks!

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • M Member_15985092

            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.

            E Offline
            E Offline
            Emirates E Visa Online
            wrote on last edited by
            #5

            Anyone have then let me know i need to use for my website https://www.emiratesevisaonline.com

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups