2.3 Ensure the logging level is set to 'info' - daemon.json

Information

Set Docker daemon log level to info.

Rationale:

Setting up an appropriate log level, configures the Docker daemon to log events that you would want to review later. A base log level of info and above would capture all logs except debug logs. Until and unless required, you should not run Docker daemon at debug log level.

Impact:

None.

Solution

Ensure that the Docker daemon configuration file has the following configuration included

'log-level': 'info'

Alternatively, run the Docker daemon as below:

dockerd --log-level='info'

Default Value:

By default, Docker daemon is set to log level of info.

See Also

https://workbench.cisecurity.org/files/4532