[Bug] "Clean Networks" deletes protected system network 1panel-network without checking container bindings, leaving all containers unable to start
Los mantenedores suelen responder en 1 día
@xiaomeinvG ya está trabajando en esto.
Desde el 23/9/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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)
- Lenguaje dominante
- Go
- Estrellas
- 37.1k
- Forks
- 3.4k
- Merge medio
- 13 h
- PR fusionados (30 d)
- 82
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de 1Panel-dev/1Panel
-
[Bug] AI Gateway Concurrency ErrorsPosiblemente ocupada @wanghe-fit2cloud la tomó hoy. Abiertotype: ai-gateway
1Panel-dev/1Panel#14035 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Bug] Excessive Overhead in the Embedding GatewayPosiblemente ocupada @wanghe-fit2cloud la tomó hoy. Abiertotype: ai-gateway
1Panel-dev/1Panel#14034 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Bug] Website statistics queue cursor is not initialized, causing worker 0 to periodically scan historical sequence numbers and block requestsPosiblemente ocupada @wanghe-fit2cloud la tomó hace 1 día. Abiertotype: question
1Panel-dev/1Panel#14028 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Feature] Human VerificationPosiblemente ocupada @wanghe-fit2cloud la tomó hace 1 día. Abiertotype: feature-request
1Panel-dev/1Panel#14027 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Bug] All models added by the Qwen Token Plan are recognized as text models.Posiblemente ocupada @wanghe-fit2cloud la tomó hace 1 día. Abiertotype: ai-gateway
1Panel-dev/1Panel#14026 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de 1Panel-dev/1Panel
Issues similares
-
docs(prompt): filer socket fragment hardcodes an issue-intent cap of 8 that Chore runs overrideAbiertoagent-butler-finding chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
jordansmall/spindrift#5128 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
Los mantenedores suelen responder en 2 días
-
License GOtome under Apache 2.0 instead of AGPL-3.0Posiblemente ocupada @praetorianer777 la tomó hoy. Abiertoarea:workflow documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
praetorianer777/GoTome#212 ·
Los mantenedores suelen responder en 1 día
-
ci: pin Go version in Build and Unit Test workflows (>=1.26.6 floats to 1.27.2 and breaks golangci-lint)Posiblemente ocupada @leninmehedy la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
hashgraph/solo-weaver#1255 ·
Los mantenedores suelen responder en 1 día
-
area/infra backlog type/chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
praetorianer777/Stator#374 ·
Los mantenedores suelen responder en 1 día