Remvoe image name from journald tag/identifier (#2118)

The image name is stored in a separate field IMAGE_NAME as well. This
allows to use the container name (e.g. `hassio_supervisor`) to get logs
of all Supervisors independent of the image name (which differs for
every version).
This commit is contained in:
Stefan Agner 2022-09-08 12:20:02 +02:00 committed by GitHub
parent cb58b14e06
commit a6445af712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
"experimental": true, "experimental": true,
"ip6tables": true, "ip6tables": true,
"log-opts": { "log-opts": {
"tag": "{{.ImageName}}/{{.Name}}" "tag": "{{.Name}}"
}, },
"data-root": "/mnt/data/docker", "data-root": "/mnt/data/docker",
"deprecated-key-path": "/mnt/overlay/etc/docker/key.json" "deprecated-key-path": "/mnt/overlay/etc/docker/key.json"