Help with a Docker container in Cobia (marqo)

Straafe

Dabbler
Joined
Mar 24, 2023
Messages
33
I'm wondering if someone could help me set up a Docker container in Cobia. I am hopeful there is a way to get it working in TrueNAS, although so far I am unable to connect to it.

The container I am trying to set up is this one: https://github.com/marqo-ai/marqo , and this is their recommended setup:
docker pull marqoai/marqo:latest docker run --name marqo -it --privileged -p 8882:8882 --add-host host.docker.internal:host-gateway marqoai/marqo:latest

Setting it up a custom app in Cobia, I can pull it and start it fine, but am unable to communicate with it, so I was hoping I was just doing something stupid and someone might be able to help me figure out what I did wrong or let me know if it is even possible to get it running properly. Below are my settings (IMGUR backup link: https://i.imgur.com/9OFClHk.png).

I know some of those args won't work, but I was starting to just try anything to see if it had any effect. The container starts and says it is running, but I cannot communicate with it. Normally it spits out a bunch of logs in Docker as well, and I am not able to see any of those in TrueNAS. You should be able to just send it a request to get a response from it, but it refuses all of my connection attempts (either from TrueNAS machine or from other devices on LAN).


1700148515673.png




1700148775820.png
 

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
At a quick glance it looks like you just messed up the port mapping. For this app it looks like it uses a port of 8882 internally, so in the "Container Port" section you would list "8882" as the port, and leave the "Node Port" as 15001 as it is now. Then you can access it on the TrueNAS http://<hostname>:15001

1700156306333.png
 
Top