Docker Community Forums

Share and learn in the Docker community.

Daemon ignoring "--log-opt tag=" setting

(Briefbote) #1


I do have a docker.conf on Ubuntu 16.04 for system.d that looks like this:

ExecStart=/usr/bin/docker daemon -H tcp:// --log-driver syslog --log-opt tag='docker/{{.Name}}'

I expected the tag in var/log/syslog to look like docker/<name> but it still is using {{.Name}}/{{.ID}}

Is there anything else I have to change?

Kind regards,