Merge "Add a configuration about docker runtime directory"
This commit is contained in:
commit
7dc385577f
@ -21,6 +21,8 @@ selinux_state: "permissive"
|
||||
|
||||
docker_storage_driver: ""
|
||||
|
||||
docker_runtime_directory: ""
|
||||
|
||||
debian_pkg_install:
|
||||
- "{{ 'docker-ce' if ansible_architecture == 'aarch64' else 'docker-engine=1.12.*' }}"
|
||||
- git
|
||||
|
@ -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 %}
|
||||
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 %}
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Set docker runtime directory by configure the docker daemon.An operator
|
||||
named "docker_runtime_directory" will be add.
|
Loading…
Reference in New Issue
Block a user