diff --git a/docs/userguide/labels-custom-metadata.md b/docs/userguide/labels-custom-metadata.md index 6be4aebc9..122b87cc5 100644 --- a/docs/userguide/labels-custom-metadata.md +++ b/docs/userguide/labels-custom-metadata.md @@ -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 \