Skip to content

Commit 9843b08

Browse files
authored
Update journald.md to add info about image name
Related to PR being opened in the `moby` project to add this functionality.
1 parent c136b48 commit 9843b08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/containers/logging/journald.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ stores the following metadata in the journal with each message:
2222
| `CONTAINER_NAME` | The container name at the time it was started. If you use `docker rename` to rename a container, the new name is not reflected in the journal entries. |
2323
| `CONTAINER_TAG`, `SYSLOG_IDENTIFIER` | The container tag ([log tag option documentation](log_tags.md)). |
2424
| `CONTAINER_PARTIAL_MESSAGE` | A field that flags log integrity. Improve logging of long log lines. |
25+
| `IMAGE_NAME` | The image name and tag for the container, displayed as `image:tag`. Note that tag will not be displayed if its value is `latest`. |
2526

2627
## Usage
2728

0 commit comments

Comments
 (0)