podman/docs/source
Paul Holzinger 8494bcb866 podman network label support
Add label support for podman network create. Use the `args`
field in the cni config file to store the podman labels.
Use `podman_labels` as key name and store the labels as
map[string]string.

For reference: https://github.com/containernetworking/cni/blob/master/CONVENTIONS.md#args-in-network-config
https://github.com/containernetworking/cni/blob/spec-v0.4.0/SPEC.md#network-configuration

Example snippet:

```
...
"args": {
	"podman_labels": {
		"key1":"value1",
		"key2":"value2"
	}
}
...
```

Make podman network list support several filters. Supported filters are name,
plugin, driver and label. Filters with different keys work exclusive. Several label
filters work exclusive and the other filter keys are working inclusive.

Also adjust the compat api to support labels in network create and list.

Breaking changes:

- podman network ls -f shortform is used for --filter instead --format
This matches docker and other podman commands (container ps, volume ps)

- libpod network list endpoint filter parameter is removed. Instead the
filters paramter should be used as json encoded map[string][]string.

Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
2020-11-28 18:35:43 +01:00
..
_static Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
markdown podman network label support 2020-11-28 18:35:43 +01:00
Commands.rst [CI:DOCS] Touch up Podman description in man page menu 2020-11-13 20:28:52 -05:00
Introduction.rst Fix documentation link and typo 2020-10-09 12:58:16 +03:00
Reference.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
Search.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
Tutorials.rst [CI:DOCS] Update remote tutorials 2020-09-08 17:30:54 -04:00
conf.py Make podman service log events 2020-11-19 14:42:56 -07:00
connection.rst Add missing pages for docs.podman.io 2020-08-10 19:35:23 -04:00
generate.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
healthcheck.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
image.rst Cross-reference *.rst files too 2020-08-11 08:03:37 -06:00
includes.rst Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
index.rst Add missing pages for docs.podman.io 2020-08-10 19:35:23 -04:00
managecontainers.rst Add podman container ps command 2020-11-23 10:49:26 +01:00
manifest.rst Add missing pages for docs.podman.io 2020-08-10 19:35:23 -04:00
network.rst add network connect|disconnect compat endpoints 2020-11-19 08:16:19 -06:00
play.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
pod.rst Remove containers when pruning a stopped pod. 2019-11-26 13:19:31 -05:00
system.rst Cross-reference *.rst files too 2020-08-11 08:03:37 -06:00
volume.rst Enable pre-commit tool linting 2020-01-14 13:42:59 +00:00