RedHat-EMEA-SSA-Team/stc

Update docker log driver to json-file

Opened this issue · 0 comments

https://access.redhat.com/documentation/en-us/openshift_container_platform/3.11/html-single/installing_clusters/#configuring-host-variables

openshift_docker_options | This variable configures additional dockeroptions in /etc/sysconfig/docker, such as options used in Managing Container Logs. It is recommended to use json-file.The following example shows the configuration of Docker to use the json-file log driver, where Docker will rotate between three 1 MB log files:
--log-driver json-file --log-opt max-size=1M --log-opt max-file=3