diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-01-10 23:55:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-10 23:55:45 +0100 |
commit | 0e9c208d3f9fc6f160f7e7746119ddf99ae6f220 (patch) | |
tree | 858cfc2d1b6867ee9c81b6897f5ce802811a8fc4 /docs/source/markdown/podman-create.1.md | |
parent | 40a16ee4c36aa143d3b27da9189d16afce35740d (diff) | |
parent | 4726eb2861e72a079ed337371182226a666c541a (diff) | |
download | podman-0e9c208d3f9fc6f160f7e7746119ddf99ae6f220.tar.gz podman-0e9c208d3f9fc6f160f7e7746119ddf99ae6f220.tar.bz2 podman-0e9c208d3f9fc6f160f7e7746119ddf99ae6f220.zip |
Merge pull request #4805 from giuseppe/log-tag
log: support --log-opt tag=
Diffstat (limited to 'docs/source/markdown/podman-create.1.md')
-rw-r--r-- | docs/source/markdown/podman-create.1.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-create.1.md b/docs/source/markdown/podman-create.1.md index 85aa81553..2bbe4f70a 100644 --- a/docs/source/markdown/podman-create.1.md +++ b/docs/source/markdown/podman-create.1.md @@ -419,6 +419,17 @@ Logging driver specific options. Used to set the path to the container log file `--log-opt path=/var/log/container/mycontainer.json` +**--log-opt**=*tag* + +Set custom logging configuration. Presently supports the `tag` option +which specified a custom log tag for the container. For example: + +`--log-opt tag="{{.ImageName}}"` + +It supports the same keys as `podman inspect --format`. + +It is currently supported only by the journald log driver. + **--mac-address**=*address* Container MAC address (e.g. 92:d0:c6:0a:29:33) |