This website requires JavaScript.
Explore
Help
Sign in
CCCHH
/
ansible-infra
Watch
3
Star
2
Fork
You've already forked ansible-infra
0
Code
Issues
2
Pull requests
Wiki
Activity
Actions
98972e39c4
Branches
Tags
No results found.
ansible-infra
/
roles
/
docker
/
files
/
daemon.json
7 lines
85 B
JSON
Raw
Normal View
History
Unescape
Escape
have the docker role conf. the Docker daemon to log to systemd journal
2025-01-14 23:19:38 +01:00
{
use the container name as journal tag not id Docker by default will use the container id as the journal tag when logging into systemd-journal. Using the container name makes easier to see which log belongs to which container.
2025-01-21 00:25:13 +01:00
"log-driver"
:
"journald"
,
"log-opts"
:
{
"tag"
:
"{{.Name}}"
}
have the docker role conf. the Docker daemon to log to systemd journal
2025-01-14 23:19:38 +01:00
}
Reference in a new issue
Copy permalink