Changed wording for tag description

This commit is contained in:
French Ben 2016-10-31 10:17:15 -07:00 committed by Misty Stanley-Jones
parent 0e10a6618c
commit 4567784f3a
1 changed files with 4 additions and 3 deletions

View File

@ -60,14 +60,15 @@ specified, the container ID is used as the log stream.
### tag
Specify tag as an alternative to the AWS logstream name, which interpret some markup, ex `{{.ID}}`, `{{.FullID}}` or `{{.Name}}` `docker.{{.ID}}`
Specify `tag` as an alternative to the `awslogs-stream` option. `tag` interprets template markup (e.g., `{{.ID}}`, `{{.FullID}}` or `{{.Name}}` `docker.{{.ID}}`).
See the [tag option documentation](log_tags.md) for details on all supported template substitutions.
When both `awslogs-stream` and `tag` are specified, the value supplied for `awslogs-stream` will override the template specified with `tag`.
By default, Docker uses the first 12 characters of the container ID to tag log messages.
Refer to the [log tag option documentation](log_tags.md) for customizing
the log tag format.
> **Note:**
> `awslogs-stream` will **always** overwrite the `tag` specified.
## Credentials