diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-06-02 11:25:06 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-06-02 13:59:26 -0400 |
commit | f94e1c63c31b736d2335ab31f3a5a36c1cca3dfd (patch) | |
tree | c27c14f15d0d3e5c3cdeef3263b56cbfd8f7f738 /roles/openshift_facts/library | |
parent | c4c6685855a9dc6b4c698465b799c72d6a4f13bd (diff) | |
download | openshift-f94e1c63c31b736d2335ab31f3a5a36c1cca3dfd.tar.gz openshift-f94e1c63c31b736d2335ab31f3a5a36c1cca3dfd.tar.bz2 openshift-f94e1c63c31b736d2335ab31f3a5a36c1cca3dfd.tar.xz openshift-f94e1c63c31b736d2335ab31f3a5a36c1cca3dfd.zip |
Configure default docker logging options.
Diffstat (limited to 'roles/openshift_facts/library')
-rwxr-xr-x | roles/openshift_facts/library/openshift_facts.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py index 09b226671..3de0c23d3 100755 --- a/roles/openshift_facts/library/openshift_facts.py +++ b/roles/openshift_facts/library/openshift_facts.py @@ -1714,7 +1714,9 @@ class OpenShiftFacts(object): set_node_ip=False) if 'docker' in roles: - docker = dict(disable_push_dockerhub=False, hosted_registry_insecure=True) + docker = dict(disable_push_dockerhub=False, + hosted_registry_insecure=True, + options='--log-driver=json-file --log-opt max-size=50m') version_info = get_docker_version_info() if version_info is not None: docker['api_version'] = version_info['api_version'] |