Skip to content

Commit

Permalink
docs: userguide: add container labels section
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Murdaca <[email protected]>
  • Loading branch information
runcom committed Sep 21, 2015
1 parent acdc0f8 commit 124540c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/userguide/labels-custom-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,21 @@ 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 \
--dns 8.8.4.4 \
Expand Down

0 comments on commit 124540c

Please sign in to comment.