Skip to content

Commit

Permalink
docs: document journald image name field
Browse files Browse the repository at this point in the history
The `IMAGE_NAME` field is exported to the `journald` logging driver, but wasn't documented previously.

Since this field is likely to be relevant to consumers, this adds documentation for it.
  • Loading branch information
msanft authored Aug 7, 2024
1 parent 271baf4 commit 69a143d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions content/config/containers/logging/journald.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ stores the following metadata in the journal with each message:
| `CONTAINER_NAME` | The container name at the time it was started. If you use `docker rename` to rename a container, the new name isn't reflected in the journal entries. |
| `CONTAINER_TAG`, `SYSLOG_IDENTIFIER` | The container tag ([log tag option documentation](log_tags.md)). |
| `CONTAINER_PARTIAL_MESSAGE` | A field that flags log integrity. Improve logging of long log lines. |
| `IMAGE_NAME` | The name of the container image. |

## Usage

Expand Down

0 comments on commit 69a143d

Please sign in to comment.