podman-network-ls(1)
π podman-network-ls β the gen-z bestie edition
okay so you opened up the manual page for podman-network-ls (General Commands Manual, icon behavior β¨) and now you're here. welcome. let's get into it π«Ά
β¨ NAME β¨
podman-network-ls β shows you a lil summary of your networks, no cap π
πΈ SYNOPSIS πΈ
podman network ls [options]
that's it. that's the whole vibe. options are optional, the slay is mandatory π
π¦ DESCRIPTION π¦
It displays a list of the podman networks that already exist. like, a roster. a guest list. every network currently in the building shows up π
π OPTIONS π
π --filter, -f=filter=value
Give it filter values, bestie. narrows things down β¨
okay so real talk: if you want more than one filter, you don't cram them together β you pass --filter multiple times, like this:
--filter name=test --filter driver=bridge
The filters you can use are:
driverβ filter by driver type.idβ filter by full or partial network ID.labelβ filter by networks that have the specified labels (or without them, if you use thelabel!=[...]form).nameβ filter by network name (accepts regex π§).untilβ filter by networks created before a given timestamp.danglingβ filter by networks with no containers attached. lonely networks fr π
The driver filter accepts these values: bridge, macvlan, ipvlan.
The label filter takes two formats, and yes both are valid:
label=keyorlabel=key=valueβ shows networks with the specified labels.label!=keyorlabel!=key=valueβ shows networks 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. clock math, but make it cute β°
The dangling filter accepts the values true or false.
π --format=format
Change the default output format. can be a supported type like 'json', or a Go template. the vibe check on your output, basically π
Valid placeholders for the Go template are listed below β memorize these, iykyk:
.Created ...β Timestamp when the network was created.DNSEnabledβ Network has dns enabled (boolean).Driverβ Network driver.IDβ Network ID.Internalβ Network is internal (boolean).IPAMOptions ...β Network ipam options.IPv6Enabledβ Network has ipv6 subnet (boolean).Labelsβ Network labels.Nameβ Network name.NetworkDNSServersβ Array of DNS servers used in this network.NetworkInterfaceβ Name of the network interface on the host.Options ...β Network options.Routesβ List of static routes for this network.Subnetsβ List of subnets on this network
π --no-trunc
Do not truncate the network ID. full ID, nothing cut off, main character energy π
π --noheading, -n
Omit the table headings from the listing. just the rows, no labels, minimal aesthetic β¨
β --quiet, -q
The quiet option restricts the output to only the network names. literally just the names. that's it. nothing else. obsessed π
π₯ EXAMPLE π₯
Display networks β look at them go:
$ 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 ALSO π
podman(1), podman-network(1), podman-network-inspect(1), podman-network-create(1)
go read those next, bestie, the lore is deep π§ββοΈ
πΈ HISTORY πΈ
August 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β©
and that's the whole page!! π this was podman-network-ls(1), dropping as part of the General Commands Manual β the footer was literally just podman-network-ls(1) again, serving cunt as always. slay, stay hydrated, and go list some networks π«Άβ¨
π¦ where this page comes from
- arch rolling: podman-docker 6.1.4-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms