ContainerNetwork AutoFix
ContainerNetwork AutoFix is a Docker utility that automatically recreates containers that depend on a master container's network via --net=container when the…
Platform availability
Available on 1 of 10 platforms
- Unraid
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server (not listed)
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
39/100 Low
- Maintained
- 33last commit 400 days ago
- Popular
- 2415 GitHub stars
- Easy to install
- 351 install platform, install notes, Docker image
- Light to run
- No data
- Security check
- 75no serious findings
Based on 4 of 5 factors.
Availability: platform listings confirmed today, links checked 30 days ago
- GitHub stars
- 15
- Open issues
- 5
- Last commit
- 2025-10-17
- License
- MIT
- Activity
- stale
Checked 9 days ago - source: GitHub (buxxdev/containernetwork-autofix)
Resources & Compatibility
ARM (e.g. Raspberry Pi) is not supported.
Checked 54 days ago - source: Docker Hub image tags and published docs
First-install notes
- Point CNI_PATH at the plugin folder Before starting a container, set CNI_PATH (a path setting that tells the script where to find the CNI plugin programs) to the folder with those binaries, then run docker-run.sh with sudo so it can create network interfaces. If CNI_PATH is wrong or missing, the script cannot find the plugins and the container may start without the network setup you asked for. source
- Choose a free IPAM subnet in config In the CNI JSON config, give host-local IPAM (the part that decides which IP addresses containers get) a subnet that is not already used on your network, for example 10.1.0.0/16. This is the pool of IP addresses the plugin can hand to containers; if it is missing or overlaps, containers may get no address or clash with other devices. source
- Enable port mapping if you publish ports If you want the host to forward a published port into the container, add a portmap plugin that declares portMappings as a capability and make sure the container runtime sends the matching port mapping details. Without that, traffic to the host port will not reach the container. source
Fetched 54 days ago - each note links to its source
Variants
Alternatives
No alternatives collected yet.
Common questions
How do I make CNAF monitor a container other than the default GluetunVPN container?
Set the MASTER_CONTAINER environment variable to the exact name of the master container you want to monitor. The default is GluetunVPN if you do not override it.
Will dependent containers that were stopped remain stopped when the master container restarts?
Yes, CNAF preserves the running or stopped state of dependent containers when it recreates them after the master container restarts.
What host file must CNAF be given so it can manage Docker containers?
It needs the Docker socket mounted at /var/run/docker.sock. On Unraid it also expects the Unraid template and Docker manager script directories to be mounted.
How can I stop CNAF logs from growing indefinitely?
Set MAX_LOG_LINES to the maximum number of log lines to keep. CNAF performs automatic log rotation based on that limit.
Are passwords or API keys written to the CNAF log?
The changelog states that passwords and API keys are masked in the log file.
Answers sourced from github.com, raw.githubusercontent.com
Community
- [Support] ContainerNetwork AutoFix (CNAF) - Auto-fix VPN ... - Unraid (forum)
- Container updates : r/selfhosted - Reddit (reddit)
- How do you keep your services up to date? : r/selfhosted - Reddit (reddit)
Collected 48 days ago - public community threads