cat <<__EOT__ | sudo tee /etc/systemd/journald.conf.d/99-forward-to-syslog
[Journal]
ForwardToSyslog=yes
__EOT__
sudo systemctl restart systemd-journald
ls -al /run/systemd/journal/syslog
docker run -itd --restart=always -v /run/systemd/journal/:/run/systemd/journal/:ro -h `hostname -f` --name rsyslog kyokuheki/rsyslog
Content type
Image
Digest
Size
3.4 MB
Last updated
about 6 years ago
docker pull kyokuheki/rsyslog