Bootstrap FreeKB - Docker - Delete a network using the docker network rm command
Docker - Delete a network using the docker network rm command

Updated:   |  Docker articles

This assumes you have installed Docker on LinuxDocker is running, and you've created a docker network.

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

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 22ac14 in the box below so that we can be sure you are a human.