Merge "Add custom option for docker"
This commit is contained in:
commit
360f2b9464
@ -21,6 +21,8 @@ selinux_state: "permissive"
|
||||
|
||||
docker_storage_driver: ""
|
||||
|
||||
docker_custom_option: ""
|
||||
|
||||
docker_runtime_directory: ""
|
||||
|
||||
debian_pkg_install:
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Service]
|
||||
MountFlags=shared
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/{{ docker_binary_name|default("docker daemon", true) }}{% if docker_registry %} --insecure-registry {{ docker_registry }}{% endif %}{% if docker_storage_driver %} --storage-driver {{ docker_storage_driver }}{% endif %}{% if docker_runtime_directory %} --graph {{ docker_runtime_directory }}{% endif %}
|
||||
ExecStart=/usr/bin/{{ docker_binary_name|default("docker daemon", true) }}{% if docker_registry %} --insecure-registry {{ docker_registry }}{% endif %}{% if docker_storage_driver %} --storage-driver {{ docker_storage_driver }}{% endif %}{% if docker_runtime_directory %} --graph {{ docker_runtime_directory }}{% endif %}{% if docker_custom_option %} {{ docker_custom_option }}{% endif %}
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Add custom option for docker daemon by configure the docker service. An operator
|
||||
named "docker_custom_option" will be added.
|
Loading…
Reference in New Issue
Block a user