diff options
author | baude <bbaude@redhat.com> | 2019-07-03 19:21:38 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-08-15 12:49:12 -0500 |
commit | 6220ef1488d3e135c332c265fdb6a3c7b240b561 (patch) | |
tree | b4882936936c4d8c308c57ff0c460b3ae98897f3 /docs/podman-network-inspect.1.md | |
parent | 3f1657d729b4f4c367b3e124621a6f3a9a5769d4 (diff) | |
download | podman-6220ef1488d3e135c332c265fdb6a3c7b240b561.tar.gz podman-6220ef1488d3e135c332c265fdb6a3c7b240b561.tar.bz2 podman-6220ef1488d3e135c332c265fdb6a3c7b240b561.zip |
inclusion of podman network
adding podman network and the subcommands inspect, list, and rm. the
inspect subcommand displays the raw cni network configuration. the list
subcommand displays a summary of the cni networks ala ps. and the rm
subcommand removes a cni network.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'docs/podman-network-inspect.1.md')
-rw-r--r-- | docs/podman-network-inspect.1.md | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/docs/podman-network-inspect.1.md b/docs/podman-network-inspect.1.md new file mode 100644 index 000000000..576e61c79 --- /dev/null +++ b/docs/podman-network-inspect.1.md @@ -0,0 +1,50 @@ +% podman-network-inspect(1) + +## NAME +podman\-network-inspect- Inspect one or more Podman networks + +## SYNOPSIS +**podman network inspect** [*network* ...] + +## DESCRIPTION +Display the raw (JSON format) network configuration. This command is not available for rootless users. + +## EXAMPLE + +Inspect the default podman network + +``` +# podman network inspect podman +[{ + "cniVersion": "0.3.0", + "name": "podman", + "plugins": [ + { + "type": "bridge", + "bridge": "cni0", + "isGateway": true, + "ipMasq": true, + "ipam": { + "type": "host-local", + "subnet": "10.88.1.0/24", + "routes": [ + { "dst": "0.0.0.0/0" } + ] + } + }, + { + "type": "portmap", + "capabilities": { + "portMappings": true + } + } + ] +} +] +``` + +## SEE ALSO +podman(1), podman-network(1), podman-network-ls(1) + +## HISTORY +August 2019, Originally compiled by Brent Baude <bbaude@redhat.com> |