How to Find AI Running in Docker Containers and VMs

A developer who runs docker run -p 11434:11434 ollama/ollama has a model server on the network that no host inventory lists. This guide shows how to find AI containers, images and VMs on a workstation, and which of them are reachable from outside the machine.

By Kuntur team · Published

Why containers and VMs are blind spots

Software inside a container or VM never touches the host's installed-programs list, its PATH or its user profile. An endpoint tool that only reads the host sees Docker Desktop or VirtualBox and stops there. On developer machines, that is where local model servers, chat front-ends, LLM gateways and MCP servers increasingly run, because the vendors publish ready-made images.

Two details make it worse. First, docker run -p 11434:11434 publishes the port on all interfaces unless you write -p 127.0.0.1:11434:11434. Second, on Linux, Docker inserts its own firewall rules for published ports, which take effect before host firewalls such as ufw, so a port you believe is blocked may still be reachable. Most model servers ship without authentication.

WSL is a related blind spot with its own guide: How to find Claude Code and Codex CLI in WSL.

AI images to look for

CategoryImages (repository)Typical port
Model serversollama/ollama, vllm/vllm-openai, ghcr.io/huggingface/text-generation-inference, localai/localai, ghcr.io/ggml-org/llama.cpp, lmsysorg/sglang, openmmlab/lmdeploy, nvcr.io/nvidia/tritonserver, nvcr.io/nim/*11434 (Ollama), 8000 (vLLM), 8080
Chat front-ends and buildersghcr.io/open-webui/open-webui, mintplexlabs/anythingllm, ghcr.io/danny-avila/librechat, flowiseai/flowise, langgenius/dify-*varies (often 3000 or 8080)
LLM gatewaysghcr.io/berriai/litellm, litellm/litellm4000
MCP serversmcp/* (Docker MCP Catalog), ghcr.io/github/github-mcp-serverusually stdio, no port

Gateways like LiteLLM matter more than they look: they usually hold real provider API keys and forward requests from anyone who can reach them. LiteLLM itself was hit by a supply-chain attack in March 2026; here is how to check for the bad 1.82.7 and 1.82.8 releases.

Check Docker and Podman

Run as the user who owns the Docker or Podman engine (or with access to its socket). These commands only list; they do not start, stop or exec into anything.

# Containers (running and stopped) whose image is a known AI runtime, UI or gateway
docker ps -a --format '{{.Names}}\t{{.Image}}\t{{.Status}}\t{{.Ports}}' |
  grep -Ei 'ollama|vllm|text-generation-inference|open-webui|localai|local-ai|llama\.cpp|lmdeploy|sglang|tritonserver|nvcr\.io/nim|anythingllm|librechat|litellm|flowise|dify|(^|\s)mcp/|github-mcp-server'

# AI images pulled but not running
docker images --format '{{.Repository}}:{{.Tag}}\t{{.Size}}' |
  grep -Ei 'ollama|vllm|text-generation-inference|open-webui|localai|llama\.cpp|sglang|litellm|anythingllm|^mcp/'

# Which of them listen on every interface (0.0.0.0 or ::), not just localhost
docker ps --format '{{.Names}}\t{{.Ports}}' | grep -E '0\.0\.0\.0:|\[::\]:|:::'

# Docker Desktop's built-in model runner, if enabled
docker model ls 2>/dev/null
podman ps -a --format '{{.Names}}\t{{.Image}}\t{{.Status}}\t{{.Ports}}'
podman images

On Windows, run them from PowerShell for Docker Desktop. A separate Docker engine installed inside a WSL distro is only visible from inside that distro (wsl -d Ubuntu docker ps).

Exposed or just local?

In the PORTS column, 127.0.0.1:11434->11434/tcp is reachable only from the machine. 0.0.0.0:11434->11434/tcp or :::11434 is reachable from the network the laptop is on, which on a hotel or conference Wi-Fi is everyone. Confirm from another machine with a read-only request:

curl -s --max-time 3 http://<laptop-ip>:11434/api/tags      # Ollama: lists models
curl -s --max-time 3 http://<laptop-ip>:8000/v1/models       # vLLM and other OpenAI-compatible servers

The fix is usually one flag: publish to 127.0.0.1 only. For exposed Ollama instances outside containers, see Finding Ollama and local LLMs.

Virtual machines

A VM is opaque from the host: you can list it, not inspect it. What you can learn from outside is whether VMs are running and whether the hypervisor process is talking to AI providers, which suggests AI tools inside.

# Windows
& "$env:ProgramFiles\Oracle\VirtualBox\VBoxManage.exe" list runningvms 2>$null
& "${env:ProgramFiles(x86)}\VMware\VMware Workstation\vmrun.exe" list 2>$null
Get-VM -ErrorAction SilentlyContinue | Where-Object State -eq 'Running'   # Hyper-V, needs admin
wsl.exe -l -v                                                              # WSL distros

# macOS
VBoxManage list runningvms 2>/dev/null
prlctl list 2>/dev/null           # Parallels
utmctl list 2>/dev/null           # UTM

Automate it

On one machine, the free Kuntur scanner lists AI containers and pulled AI images from Docker and Podman, WSL distros with the AI tools inside them, and running VMs.

  1. Download scan.ps1.
  2. Read it. It's plain text; here's what it does.
  3. Check its SHA-256 against the published hash: Get-FileHash .\scan.ps1 -Algorithm SHA256
  4. Run it: powershell -ExecutionPolicy Bypass -File .\scan.ps1

Windows shortcut, if you trust the source (PowerShell)

irm https://app.kuntur.io/scan.ps1 | iex

macOS and Linux (Terminal)

curl -fsSL https://app.kuntur.io/scan.sh | sh

It needs no account and no admin rights, writes an HTML report to the Desktop (or home folder) and uploads nothing. You can read scan.ps1 or scan.sh before running it; what it collects is documented.

Across a fleet, the Kuntur agent reads the Docker and Podman engine APIs read-only (GET requests only, never exec), and raises CONTAINER_AI_EXPOSED when an AI container publishes a port on all interfaces. For VMs it reports the hypervisor and VM state, and VM_RUNNING_WITH_AI_TRAFFIC when a VM's hypervisor process connects to an LLM provider. Every detection carries its execution environment, so you know whether Ollama runs on the host, in WSL or in a container.

Free for up to 5 endpoints. Pro is US$3 per endpoint per month (or US$30 per endpoint per year) for 10 to 30 endpoints. The trial needs no credit card. Kuntur detects and reports; it does not block or uninstall anything.

FAQ

Does docker run -p expose a port to the network?
Yes. -p 11434:11434 binds all interfaces. Use -p 127.0.0.1:11434:11434 to keep it on the machine.
Can host firewalls protect a published Docker port on Linux?
Not reliably. Docker adds its own iptables rules for published ports, which are evaluated before rules added by tools such as ufw.
How do I see AI running inside a VM?
Not from the host. You can list running VMs and see whether the hypervisor process connects to AI providers; to inventory the VM itself, install an endpoint agent inside it.
Does Kuntur exec into containers?
No. It reads the Docker or Podman engine API with GET requests only: container and image lists, labels and published ports.

Sources

  1. Docker docs: Port publishing and mapping
  2. Docker docs: Packet filtering and firewalls
  3. Docker docs: Model Runner
  4. Docker docs: MCP Catalog and Toolkit
  5. Ollama docs: FAQ (OLLAMA_HOST and network exposure)

More guides and tools: