Docker log display issue; config update needed.
Still trying to display logs properly.
The driver is working fine, but I don't have a label for the docker image, which I need to make my container selector button.
I resolved this by updating the docker config:
"log-opts": {
"loki-external-labels": "job=docker,container_name={{.Name}},container_image={{.ImageName}}"
}
I'm having a weird issue where some of the containers are showing up in logs, and some not. Seems like it has to do with the time they were created. All containers created before a docker config update will use the old config. Restarting won't do anything, they need to be removed.