allow cli options

This commit is contained in:
Robert Kaussow 2018-12-16 17:22:28 +01:00
parent aa54d73564
commit 0d0f0cf2d7
2 changed files with 6 additions and 1 deletions

View File

@ -15,3 +15,8 @@ dockerengine_storage_vg: vg_docker
dockerengine_storage_lv: lv_docker dockerengine_storage_lv: lv_docker
dockerengine_storage_size: 100G dockerengine_storage_size: 100G
dockerengine_base_dir: /var/lib/docker dockerengine_base_dir: /var/lib/docker
dockerengine_cli_options:
- selinux-enabled
- log-driver=journald
- signature-verification=false

View File

@ -2,7 +2,7 @@
# /etc/sysconfig/docker # /etc/sysconfig/docker
# Modify these options if you want to change the way the docker daemon runs # Modify these options if you want to change the way the docker daemon runs
OPTIONS='--selinux-enabled --log-driver=journald --signature-verification=false' OPTIONS='{{ dockerengine_cli_options | prefix | join(' ') }}'
if [ -z "${DOCKER_CERT_PATH}" ]; then if [ -z "${DOCKER_CERT_PATH}" ]; then
DOCKER_CERT_PATH=/etc/docker DOCKER_CERT_PATH=/etc/docker
fi fi