DockerCLI/docs/reference/commandline/network_rm.md

798 B

network rm

Usage:  docker network rm [OPTIONS] NAME | ID

Deletes a network

  --help=false       Print usage

Removes a network by name or identifier. To remove a network, you must first disconnect any containers connected to it.

  $ docker network rm my-network