InformationAudit all Docker daemon activities.
As well as auditing the normal Linux file system and system calls, you should also audit the Docker daemon. Because this daemon runs with root privileges. It is very important to audit its activities and usage.
Auditing can generate large log files. You should ensure that these are rotated and archived periodically. A separate partition should also be created for audit logs to avoid filling up any other critical partition.
SolutionYou should add rules for the Docker daemon.
Add the line below to the /etc/audit/rules.d/audit.rules file:
-w /usr/bin/dockerd -k docker
Then, restart the audit daemon using the following command
systemctl restart auditd
By default, the Docker daemon is not audited.