The docker network ls command can be used to display the docker networks.
docker network ls
Which should return something like this.
NETWORK ID NAME DRIVER SCOPE 233g3acb112a foo-network bridge local
The docker network rm command can be used to remove a network. In this example, foo-network will be removed.
docker network rm foo-network