Skip to content
Esc

Networks

List and inspect Docker networks, see which containers are attached, and create, remove or prune networks.

The Networks tab on the Resources page lists the Docker networks on the host selected in the host switcher, or on every host with All hosts. Stacks create their own project networks on deploy (named <stack>_<key> unless the compose file sets a name), so you mostly use this tab to look things up. /networks redirects to this tab.

ColumnShows
NameNetwork name, below it the stack it belongs to or the short ID
Driver / scopeFor example bridge / local
SubnetFrom the IPAM configuration
FlagsInternal, attachable
ContainersNumber of attached containers, stopped ones included
CreatedCreation time

Show filters the list to user, internal, attachable or empty networks. Docker’s built-in networks bridge, host and none are hidden until you tick show system networks; they are then sorted first. With All hosts, hosts that don’t answer within three seconds are left out and counted as unreachable.

Users whose access is limited to some hosts or stacks only see networks on those hosts and the project networks of those stacks.

Click a network to open its page; it looks the network up on the host the row belongs to.

The tabs:

  • Overview: name, ID, driver, scope, creation time, the internal, attachable and IPv6 flags, labels and driver options.
  • Containers: attached containers with their IPv4, IPv6 and MAC addresses.
  • IPAM: subnets, gateways, IP ranges and auxiliary addresses.

The Topology page in the sidebar draws the networks and containers of the server host as a graph, limited to what your access covers. Agent hosts are not included.

Create network asks for a Name and a Driver (bridge, overlay, macvlan or ipvlan). overlay only works on a Docker engine in Swarm mode. When more than one host exists, the dialog also asks for the Host. The network is created with default IPAM settings; subnet, gateway and the internal flag can’t be set here. If you need the internal or attachable flag, declare the network in a stack’s compose.yaml:

yaml
networks:
  backend:
    internal: true

Dockmesh ignores the top-level ipam key in compose files (see Compose fields that are silently ignored), so custom subnets need to be created with docker network create on the host and referenced as external: true.

ActionEffect
Delete (row, or Delete network on the detail page)Removes the network. Docker refuses while containers are attached. Not offered for bridge, host and none.
Prune emptyRemoves all networks without attached containers. bridge, host and none are kept.
System cleanup…Prunes dangling images, unused anonymous volumes and unused networks together.

Deleting acts on the network’s host. Prune empty and System cleanup… act on the selected host; under All hosts they run on every reachable host in view, one after the other. Each action needs the permission on the host it acts on. An agent that is older than the server refuses these actions until you update it from the Hosts page.

Stopping a stack leaves its networks in place, so a stopped stack whose containers were removed has an empty network that Prune empty removes. That is harmless: the next deploy creates it again.

ActionPermission
List, inspect, topologynetworks.view (Images, volumes, networks & registries: View)
Createnetworks.create (Manage)
Delete and prunenetworks.delete (Manage)