gist.githate.ru

Explore

  • All gists
  • Topics
  • Users
Telegram Git collection
Give feedback on the new UI Powered by Opengist ⋅ 12ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
l

log

Recently created Least recently created Recently updated Least recently updated
LittleGreenCat

LittleGreenCat / Tags for simply filtration docker logs

Last active 2 months ago docker log moni

Добавить назначение тега на событие, чтобы потом можно было проще фильтровать вывод логов docker

0 0 1
1 # Добавить в /etc/docker/daemon.json
2
3 {
4 "log-driver": "journald",
5 "log-opts": {
6 "tag": "{{ .Name }}"
7 }
8 }
9
10 # теперь можно, например, локально фильтровать события