CmdID

CmdID / Commands

docker-network

Create and manage Docker networks. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

List all available and configured networks on Docker daemon

docker network lsIdentify

Create a user-defined network

docker network create --driver driver_name network_nameIdentify
--driverDriver to manage the Network Docker CLI reference

Display detailed information about one or more networks

docker network inspect network_name1 network_name2 ...Identify

Connect a container to a network using a name or ID

docker network connect network_name container_nameIdentify

Disconnect a container from a network

docker network disconnect network_name container_nameIdentify

Remove all unused (not referenced by any container) networks

docker network pruneIdentify

Remove one or more unused networks

docker network rm network_name1 network_name2 ...Identify