Add support for custom shm_size for seed container(s)

It's now possible to change Docker's default 64M SHM size
for custom containers running on the seed.

Change-Id: Ic6c2ec38e8a22b8acc90e17a552e471aa8313f7d
This commit is contained in:
Piotr Parczewski 2021-02-25 23:33:50 +01:00
parent b19222e686
commit 93f67ac478
3 changed files with 7 additions and 0 deletions

View File

@ -25,6 +25,7 @@
ports: "{{ container_config.ports | default(omit) }}" ports: "{{ container_config.ports | default(omit) }}"
privileged: "{{ container_config.privileged | default(omit) }}" privileged: "{{ container_config.privileged | default(omit) }}"
restart_policy: "{{ container_config.restart_policy | default(deploy_containers_defaults.restart_policy) }}" restart_policy: "{{ container_config.restart_policy | default(deploy_containers_defaults.restart_policy) }}"
shm_size: "{{ container_config.shm_size | default(omit) }}"
sysctls: "{{ container_config.sysctls | default(omit) }}" sysctls: "{{ container_config.sysctls | default(omit) }}"
timeout: "{{ deploy_containers_docker_api_timeout }}" timeout: "{{ deploy_containers_docker_api_timeout }}"
ulimits: "{{ container_config.ulimits | default(omit) }}" ulimits: "{{ container_config.ulimits | default(omit) }}"

View File

@ -44,6 +44,7 @@ Possible options for container deployment:
ports: ports:
privileged: privileged:
restart_policy: restart_policy:
shm_size:
sysctls: sysctls:
tag: tag:
ulimits: ulimits:

View File

@ -0,0 +1,5 @@
---
features:
- |
Adds support for changing ``shm_size`` parameter when deploying
custom seed container(s).