allow cli options
This commit is contained in:
parent
aa54d73564
commit
0d0f0cf2d7
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user