[Bug] "Clean Networks" deletes protected system network 1panel-network without checking container bindings, leaving all containers unable to start
I maintainer di solito rispondono entro 1 giorno
@xiaomeinvG ci sta già lavorando.
Dal 23/9/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Problem Description
Two related defects in the Container → Networks → "Clean Networks" action (v2.3.1):
- Contradicts the official docs: the documentation states that
none,host,bridge, and1panel-networkare built-in system networks that cannot be deleted, yet "Clean Networks" deletes1panel-network. - No binding check before deletion: it does not check whether any containers (including stopped ones) are attached to the network — no warning, no consequence shown. Afterwards every app container bound to that network fails to start.
An aggravating case: cleanup is still allowed while the Docker daemon is unhealthy. In our incident dockerd was in a crash loop (root cause same family as #13814: ip_forward=0 with firewall-backend: nftables). After clicking "Clean Networks", a zombie network was persisted: docker network ls still shows 1panel-network, but after the daemon recovers, docker run --network 1panel-network fails with network ... does not exist, and attaching new containers to it fails as well. Recovery required a manual docker network rm followed by recreating the network with the original subnet.
Steps to Reproduce
- Have dockerd in a startup-failure loop (in our case: Debian 13 with
net.ipv4.ip_forward=0and the nftables backend — the #13814 scenario) - Panel → Containers → Networks → click "Clean Networks"
1panel-networkis deleted (at the moment of the click, dockerd logsError handling plugin refcount operation ... legacy plugin: Unable to find plugin without name)- After the daemon recovers, every attached container fails to start:
failed to set up container networking: failed to create endpoint <name> on network 1panel-network: network <id> does not exist docker network lsstill lists the network (zombie state);docker network rm+ recreating it with the same subnet restores service
Expected Behavior
- "Clean Networks" treats
1panel-networkas protected per the docs; or at minimum: - Before deletion, inspect the network's
Containerslist (including stopped containers) viadocker network inspectand block deletion with a clear message when it is non-empty - Check daemon health before executing the cleanup and abort when the daemon is not healthy
Environment
- OS: Debian 13 (trixie), kernel 6.12
- Docker: 29.8.1,
daemon.jsoncontains"firewall-backend": "nftables" - 1Panel: v2.3.1
- Related: #13814 (another defect in the same incident chain)
- Lingua principale
- Go
- Stelle
- 37.1k
- Fork
- 3.4k
- Merge medio
- 11h 33m
- PR unite (30g)
- 99
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di 1Panel-dev/1Panel
-
[Bug] Error Upgrading to Community Edition v2.3.2Forse già presa @wanghe-fit2cloud l’ha presa oggi. Apertatype: question
1Panel-dev/1Panel#14082 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature] Add RPM, QPS, and TPM Limits to AI GatewayForse già presa @wanghe-fit2cloud l’ha presa oggi. Apertatype: ai-gateway
1Panel-dev/1Panel#14081 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Failed to Add a Panel in Multi-Node ManagementForse già presa @wanghe-fit2cloud l’ha presa 1 giorno fa. Apertatype: question
1Panel-dev/1Panel#14075 · 5 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Revoked API Keys Cannot Be DeletedForse già presa @wanghe-fit2cloud l’ha presa 1 giorno fa. Apertatype: feature-request
1Panel-dev/1Panel#14074 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] The UI language switches to English after deleting a child node in multi-node managementForse già presa @wanghe-fit2cloud l’ha presa 1 giorno fa. Apertastatus: dev-complete type: optimization
1Panel-dev/1Panel#14073 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di 1Panel-dev/1Panel
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
chaitin/agent-compose#770 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
kind/bug
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
kubernetes-sigs/vsphere-csi-driver#4351 ·
I maintainer di solito rispondono entro 1 giorno
-
component/gpu-kubelet-plugin component/helm needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
kubernetes-sigs/dra-driver-nvidia-gpu#1559 ·
I maintainer di solito rispondono entro 1 giorno
-
workflow: redundant goroutine in scheduleRetryForse già presa @moodbased l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 2 giorni