FreeKB - docker network command (remove a network)
Docker - docker network command (remove a network)

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

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




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




Comments