1podman-network-inspect(1)()                        podman-network-inspect(1)()
2
3
4

NAME

6       podman-network-inspect - Displays the raw CNI network configuration for
7       one or more networks
8
9

SYNOPSIS

11       podman network inspect [options] [network ...]
12
13

DESCRIPTION

15       Display the raw (JSON format) network configuration.
16
17

OPTIONS

19   --format, -f
20       Pretty-print networks to JSON or using a Go template.
21
22

EXAMPLE

24       Inspect the default podman network
25
26
27              # podman network inspect podman
28              [{
29                  "cniVersion": "0.3.0",
30                  "name": "podman",
31                  "plugins": [
32                    {
33                      "type": "bridge",
34                      "bridge": "cni0",
35                      "isGateway": true,
36                      "ipMasq": true,
37                      "ipam": {
38                          "type": "host-local",
39                          "subnet": "10.88.1.0/24",
40                          "routes": [
41                              { "dst": "0.0.0.0/0" }
42                          ]
43                      }
44                    },
45                    {
46                      "type": "portmap",
47                      "capabilities": {
48                        "portMappings": true
49                      }
50                    }
51                  ]
52              }
53              ]
54
55
56
57              # podman network inspect podman --format '{{(index  .plugins  0).ipam.ranges}}'
58              [[map[gateway:10.88.0.1 subnet:10.88.0.0/16]]]
59
60
61

SEE ALSO

63       podman(1), podman-network(1), podman-network-ls(1)
64
65

HISTORY

67       August 2019,  Originally  compiled  by  Brent  Baude  bbaude@redhat.com
68       ⟨mailto:bbaude@redhat.com⟩
69
70
71
72                                                   podman-network-inspect(1)()
Impressum