-
Notifications
You must be signed in to change notification settings - Fork 66
Description
Only System Ports and Internal ports are displayed when connected to any host which is a part of Docker Swarm.
No external docker ports though.
I had to use docker.sock mapping:
- /var/run/docker.sock:/var/run/docker.sock:ro
and
network_mode: host
[2025-08-29T02:51:39.245Z] [Database] INFO: Using database at /data/portracker.db [2025-08-29T02:51:39.252Z] [Database] INFO: Checking for protocol column migration... [2025-08-29T02:51:39.253Z] [Server] INFO: Database schema verification successful. [2025-08-29T02:51:39.253Z] [Database] INFO: Local server platform_type will be reset to 'auto' for auto-detection. [2025-08-29T02:51:39.257Z] [Database] INFO: Local server entry updated. [2025-08-29T02:51:39.259Z] [Server] INFO: Attempting to serve static files from: /app/backend/public [2025-08-29T02:51:39.260Z] [Server] INFO: About to call app.listen on port 4999 [2025-08-29T02:51:39.262Z] [Server] INFO: Server is now listening on http://0.0.0.0:4999 [2025-08-29T02:51:39.262Z] [Server] INFO: Full startup message complete. [2025-08-29T02:52:29.561Z] [ProcParser] INFO: Final /proc path: /proc [2025-08-29T02:52:29.562Z] [Generic Platform] INFO: Checking TrueNAS compatibility... [2025-08-29T02:52:29.578Z] [DockerAPI] INFO: Docker API connected successfully (null) [2025-08-29T02:52:29.579Z] [ProcParser] INFO: Final /proc path: /proc [2025-08-29T02:52:29.580Z] [Generic Platform] INFO: --- Docker Collector Compatibility Check --- [2025-08-29T02:52:29.580Z] [Generic Platform] INFO: Docker socket found at /var/run/docker.sock. Assigning compatibility score (50). [2025-08-29T02:52:29.580Z] [ProcParser] INFO: Final /proc path: /proc [2025-08-29T02:52:29.581Z] [Generic Platform] INFO: System collector is always available as fallback. [2025-08-29T02:52:29.581Z] [ProcParser] INFO: Final /proc path: /proc [2025-08-29T02:52:29.581Z] [Collector] INFO: Auto-detected docker collector with score 50 [2025-08-29T02:52:29.586Z] [DockerAPI] INFO: Docker API connected successfully (null) [2025-08-29T02:52:29.586Z] [DockerAPI] INFO: Docker API connected successfully (null) [2025-08-29T02:52:29.588Z] [DockerAPI] INFO: Docker API connected successfully (null) [2025-08-29T02:52:29.591Z] [DockerAPI] INFO: Docker API connected successfully (null) [2025-08-29T02:52:29.825Z] [Generic Platform] INFO: Attempting nsenter method for comprehensive port collection with process names [2025-08-29T02:52:29.846Z] [Generic Platform] INFO: nsenter method successful: 3 ports found with process names [2025-08-29T02:52:29.848Z] [Generic Platform] INFO: Total unique ports collected: 54 [2025-08-29T02:52:29.856Z] [Database] INFO: Local server platform_type updated to 'docker' in database. [2025-08-29T02:52:35.227Z] [Generic Platform] INFO: Attempting nsenter method for comprehensive port collection with process names [2025-08-29T02:52:35.248Z] [Generic Platform] INFO: nsenter method successful: 3 ports found with process names [2025-08-29T02:52:35.249Z] [Generic Platform] INFO: Total unique ports collected: 54