github.com/containers/podman/v2@v2.2.2-0.20210501105131-c1e07d070c4c/docs/source/markdown/podman-network-inspect.1.md (about) 1 % podman-network-inspect(1) 2 3 ## NAME 4 podman\-network\-inspect - Displays the raw CNI network configuration for one or more networks 5 6 ## SYNOPSIS 7 **podman network inspect** [*options*] [*network* ...] 8 9 ## DESCRIPTION 10 Display the raw (JSON format) network configuration. 11 12 ## OPTIONS 13 #### **--format**, **-f** 14 15 Pretty-print networks to JSON or using a Go template. 16 17 ## EXAMPLE 18 19 Inspect the default podman network 20 21 ``` 22 # podman network inspect podman 23 [{ 24 "cniVersion": "0.3.0", 25 "name": "podman", 26 "plugins": [ 27 { 28 "type": "bridge", 29 "bridge": "cni0", 30 "isGateway": true, 31 "ipMasq": true, 32 "ipam": { 33 "type": "host-local", 34 "subnet": "10.88.1.0/24", 35 "routes": [ 36 { "dst": "0.0.0.0/0" } 37 ] 38 } 39 }, 40 { 41 "type": "portmap", 42 "capabilities": { 43 "portMappings": true 44 } 45 } 46 ] 47 } 48 ] 49 ``` 50 51 ``` 52 # podman network inspect podman --format '{{(index .plugins 0).ipam.ranges}}' 53 [[map[gateway:10.88.0.1 subnet:10.88.0.0/16]]] 54 ``` 55 56 ## SEE ALSO 57 podman(1), podman-network(1), podman-network-ls(1) 58 59 ## HISTORY 60 August 2019, Originally compiled by Brent Baude <bbaude@redhat.com>