1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #16449 from runcom/add-container-label-userguide

docs: userguide: add container labels section
This commit is contained in:
moxiegirl 2015-09-21 10:26:20 -07:00
commit f018c0430b

View file

@ -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 \