Docker server security, including what the firewall does not see
Docker server security has traps that a normal Linux checklist misses: published ports that skip ufw, databases made public with one click in Coolify, dashboards left open. Avanguard looks for them on the host and from the internet.
- 1 Automatic blockingScanners stopped in the AVANGUARD firewall chain
- 2 SSH protectionfail2ban or CrowdSec checked and verified
- 3 VulnerabilitiesPackages, updates, ports and settings
- 4 MonitoringCPU, memory, disk, traffic every 15 seconds
- 5 AI and youExplanations and commands; you decide
Your server
Docker-published ports bypass ufw
When you publish a port with -p 5432:5432, Docker writes its own iptables rules and the traffic to the container never passes through the chains ufw manages. The firewall says the port is closed; the internet reaches it anyway. Docker's documentation explains that your own rules for containers belong in the DOCKER-USER chain.
Avanguard reports Docker-published database ports even when the firewall is active, because the firewall is not what decides. The usual fixes:
- Publish only on localhost:
-p 127.0.0.1:5432:5432, or do not publish at all and use a Docker network. - Add filtering rules to the
DOCKER-USERchain. - Confirm with the external port scan, which shows what the internet really reaches.
Coolify security: public databases
In Coolify a database can be made public with a switch: Coolify then starts a container with the -proxy suffix that publishes the port on every interface. It is handy during development and easy to forget. Avanguard recognizes these proxy containers and reports the database as exposed, with the explanation and the steps to close it or restrict it.
Traefik dashboard without authentication
Traefik, used by Coolify and many Docker setups, has a dashboard that shows every route and service. Left without authentication, it gives anyone a map of your infrastructure. Avanguard reports a Traefik dashboard reachable without auth.
Containers and their connections
The agent reports the open connections of the server and of every container. Avanguard checks them against public threat lists (abuse.ch Feodo Tracker, abuse.ch SSL Blacklist, Spamhaus DROP): a container talking to a botnet command server is a critical finding.
A database container that connects out to the internet is flagged too. A database should answer the application, not call outside: when it does, something is wrong.
HTTP traffic from Traefik and Coolify logs
Avanguard reads the access logs of Traefik and Coolify as well as nginx, Apache and Caddy: requests per status code, response times, busiest routes and IPs, a live list of requests. It raises alarms for exposed files such as /.env, scans of sensitive paths, login brute force and security scanners. Query strings, headers, cookies and bodies are never collected.
Automatic blocking in front of Docker
If you turn on automatic blocking of scanners, the agent's AVANGUARD chain is reached from both INPUT and DOCKER-USER, so blocks also apply to traffic going to containers. More on the rules on attack protection.
Frequently asked questions
Does the agent itself run in Docker?
Yes: one container, read-only, with all capabilities dropped except a few it needs. It works with Docker 20.10 or newer, or Podman. Details on how it works.
Will Avanguard change my Docker or Coolify configuration?
No. It reports the problem and gives you the commands; you apply them. The only firewall rules the agent writes are its own expiring blocks, and only if you turn automatic blocking on.
Does it find vulnerable packages on a Docker host?
It scans the packages of the host against the OSV database, along with missing updates and risky configurations. See the Linux vulnerability scanner.
More about Avanguard
- Attack protection SSH brute force, scans for secret files, HTTP and SYN floods, threat lists: detected live, scanners blocked automatically. Learn more →
- SSH brute force fail2ban checked end to end: installed, configured, reading the log and banning. Alerts when an attacker is not stopped. Learn more →
- Vulnerabilities Vulnerable packages from the OSV database, missing updates, pending reboots, risky configs, external port and TLS checks. Learn more →
- Server monitoring CPU, memory, disk, network and HTTP traffic every 15 seconds, thresholds, disk full forecast and offline alerts. Learn more →
- AI assistant Explanations and fix commands written by AI for your server, and a browser terminal with a copilot that suggests the next step. Learn more →
- Compliance Findings mapped onto NIS2, GDPR, DORA, ISO 27001 and CIS, an incident kit with deadlines and verifiable attestations. Learn more →
Know what is happening on your servers, today
Create your account, run one Docker command and in a few minutes you see attacks, vulnerabilities and resources of the server, with the commands to fix what matters.
Already have an account? Sign in · Documentation