docs: userguide: add container labels section

Signed-off-by: Antonio Murdaca <runcom@linux.com>
Upstream-commit: 124540c08603f1eda956f16e2eef2f42d3b3e80f
Component: engine
This commit is contained in:
Antonio Murdaca
2015-09-21 14:41:22 +02:00
parent 17451ec748
commit 361e22d91a
@@ -161,8 +161,20 @@ List all images with `vendor` `ACME`:
$ docker images --filter "label=vendor=ACME"
## Daemon labels
## Container labels
docker run \
-d \
--label com.example.group="webservers" \
--label com.example.environment="production" \
busybox \
top
Please refer to the [Query labels](#query-labels) section above for information
on how to query labels set on a container.
## Daemon labels
docker daemon \
--dns 8.8.8.8 \