![]() |
![]()
| ![]() |
![]()
NAMEpodman-network-ls - Display a summary of networks SYNOPSISpodman network ls [options] DESCRIPTIONDisplays a list of existing podman networks. OPTIONS--filter, -f=filter=valueProvide filter values. The filters argument format is of key=value. If there is more than one filter, then pass multiple OPTIONS: --filter foo=bar --filter bif=baz. Supported filters:
The driver filter accepts values: bridge, macvlan, ipvlan. The label filter accepts two formats. One is the label=key or label=key=value, which shows images with the specified labels. The other format is the label!=key or label!=key=value, which shows images without the specified labels. The until filter can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. 10m, 1h30m) computed relative to the machine’s time. The dangling filter accepts values true or false. --format=formatChange the default output format. This can be of a supported type like 'json' or a Go template. Valid placeholders for the Go template are listed below:
--no-truncDo not truncate the network ID. --noheading, -nOmit the table headings from the listing. --quiet, -qThe quiet option restricts the output to only the network names. EXAMPLEDisplay networks: $ podman network ls NETWORK ID NAME DRIVER 88a7120ee19d podman bridge 6dd508dbf8cd podman6 bridge 8e35c2cd3bf6 podman5 macvlan Display only network names: $ podman network ls -q podman podman2 outside podman9 Display name of network which support bridge plugin: $ podman network ls --filter driver=bridge --format {{.Name}} podman podman2 podman9 List networks with their subnets: $ podman network ls --format "{{.Name}}: {{range .Subnets}}{{.Subnet}} {{end}}" podman: 10.88.0.0/16 podman3: 10.89.30.0/24 fde4:f86f:4aab:e68f::/64 macvlan: SEE ALSOpodman(1), podman-network(1), podman-network-inspect(1), podman-network-create(1) HISTORYAugust 2021, Updated with the new network format by Paul Holzinger pholzing@redhat.com ⟨mailto:pholzing@redhat.com⟩ August 2019, Originally compiled by Brent Baude bbaude@redhat.com ⟨mailto:bbaude@redhat.com⟩
|