• Home
  • Free Stuff
  • About
  • Contact

Rsyslog Warning on Docker : rsyslogd: imklog: cannot open kernel log (/proc/kmsg)

July 31, 2019

I got this warning message while building Docker images and trying to start rsyslog inside Docker :

rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted. rsyslogd: activation of module imklog failed

It seems that Unpriviledged cotainers do not have access to kernel log for security reasons. Despite this warning messages, rsyslog running as usual, but if you wish to make the warning dissapear, try to run Docker with –privileged parameter as below :

docker build --no-cache -t ubuntu-rsyslog .
docker run -it --privileged -h ub-syslog.vavai.net ubuntu-rsyslog
BashDocker
Share

Linux

Masim "Vavai" Sugianto
Traveller, Open Source Enthusiast & Book Lover. Works as Independent Worker & Self-Employer.

Leave A Reply


Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Recent Posts

    • Januari 2021 Portfolio Update
    • December 2020 Portfolio Update
    • After a While
    • Life goes On : Farming
    • Pursuing FIRE in Indonesia : Are You Prepared For A Recession?
    • VirtualBox Error Kernel Driver not Installed (rc=-1908) on Zorin OS 15.2
    • ZorinOS on Intel NUC Hades Canyon Series NUC817HVK
    • Banana Farm
    • Zorin OS 15.2 Ultimate
    • Haraka and LDAP Authentication with Zimbra



© Copyright LetsBlog Theme Demo - Theme by ThemeGoods