{{ extends "../_layouts/default" }} {{ import "../_modules/detail" }} {{ block script() }} {{ end }} {{ block body() }}

NETWORK

Networks are user-defined networks that containers can be attached to.

{{ .Network.Name }}

ID
{{ .Network.ID }}
Driver
{{ .Network.Driver }}
Scope
{{ .Network.Scope}}
Created at
{{ time(.Network.Created) }}
{{ if .Network.IPAM.Config }}
IP
{{range .Network.IPAM.Config}}
Subnet: {{ .Subnet }}, Gateway: {{ .Gateway }}
{{end}} {{end}}
{{ yield tags(title="Options", tags=.Network.Options) }} {{ yield tags(title="Labels", tags=.Network.Labels) }} {{if .Network.Containers}}

Containers

{{range id, c := .Network.Containers}} {{end}}
Name IPV4 IPV6 Mac Action
{{c.Name}} {{c.IPv4Address}} {{c.IPv6Address}} {{c.MacAddress}}
{{end}} Return
{{ end }}