Portainer or Yacht on MT /Container

Hi
Is possible to install Portainer or Yacht in /Container on MT? It uses docker.socks like volume (-v /var/run/docker.sock:/var/run/docker.sock).

iirc Mikrotik containers are not docker based

Is there any monitoring tool for Container in MT like Portainer/Yacht? (not SNMP)

You can create scheduled script that checks if container is running or use external monitoring software that will perform that over ROS API.

The Yacht looks interesting. It does all things that RouterOS doesn’t with /container without all larger scale pod stuff…

I’d imagine it be possible to “port” yacht for docking on RouterOS. It is open source. Most of the interaction with docker daemon only happens in a few places in the python. So THEORITICALLY, the Docker’s API (that happen via docker.sock) COULD be replace using IP to Mikrotik’s API, with some work… 80% of the code looks to be UI at managing the configs and their “templating”, only 20% is talking to docker.

While what images are loaded etc is possible in Mikrotik API. Getting the CPU and memory for a particular container is trickier. RouterOS does NOT have a corresponding API for that part. I suppose some theoretically “Mikrotik Yacht” could read “/proc/stat” via mount or shell from yacht backend, but that may not be full-proof since I’m not sure all image mount a /proc.

Anyway it ain’t just needing a docker.sock to fix the yacht.

If resource monitoring is needed then ROS will need to expose per container resource usage otherwise it can be achieved only with custom container image with some resource monitoring service installed along with actual service.