---
name: docker_remove_network
kind: function
lang: go
domain: infra
version: "1.0.0"
purity: impure
signature: "func DockerRemoveNetwork(nameOrID string) error"
description: "Elimina una red Docker por nombre o ID."
tags: [docker, network, remove, infra, pendiente-usar]
uses_functions: []
uses_types: []
returns: []
returns_optional: false
error_type: "error_go_core"
imports: [fmt, os/exec, strings]
params:
  - name: nameOrID
    desc: "nombre o ID de la red Docker a eliminar"
output: "nil si se elimino exitosamente, error en caso contrario"
tested: false
tests: []
test_file_path: ""
file_path: "functions/infra/docker_remove_network.go"
---

## Ejemplo

```go
err := DockerRemoveNetwork("my-app-net")
if err != nil {
    log.Fatal(err)
}
```
