Skip to content

Commit

Permalink
Merge pull request moby#16449 from runcom/add-container-label-userguide
Browse files Browse the repository at this point in the history
docs: userguide: add container labels section
  • Loading branch information
moxiegirl committed Sep 21, 2015
2 parents 587558f + 124540c commit f018c04
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 f018c04

Please sign in to comment.