Third container of Apache image is not getting created

An Apache 2.4.25 image is built on RHEL 7.3. A docker-compose.yml is written to create 3 instances of same Apache with different configurations. 2 Apache containers are getting initiated properly while the third one getting created showing below error and getting existed.


ERROR:
[Fri Sep 22 02:50:01.489209 2017] [core:warn] [pid 1:tid 139995312236416] AH00098: pid file /usr/local/apache2/logs/httpd.pid overwritten – Unclean shutdown of previous Apache run?
[Fri Sep 22 02:50:01.490944 2017] [mpm_worker:notice] [pid 1:tid 139995312236416] AH00292: Apache/2.4.25 (Unix) OpenSSL/1.0.2j configured – resuming normal operations
[Fri Sep 22 02:50:01.490972 2017] [core:notice] [pid 1:tid 139995312236416] AH00094: Command line: ‘/usr/local/apache2/bin/httpd -D TLS -D FOREGROUND’
[Fri Sep 22 02:50:01.491952 2017] [mpm_worker:alert] [pid 24:tid 139995174577920] (11)Resource temporarily unavailable: AH03142: apr_thread_create: unable to create worker thread
[Fri Sep 22 02:50:01.492238 2017] [mpm_worker:alert] [pid 22:tid 139995174577920] (11)Resource temporarily unavailable: AH03142: apr_thread_create: unable to create worker thread
[Fri Sep 22 02:50:01.493310 2017] [mpm_worker:alert] [pid 23:tid 139995174577920] (11)Resource temporarily unavailable: AH03142: apr_thread_create: unable to create worker thread
[Fri Sep 22 02:50:03.494248 2017] [mpm_worker:alert] [pid 1:tid 139995312236416] AH02325: A resource shortage or other unrecoverable failure was encountered before any child process initialized successfully… httpd is exiting!

Here is the yml file for reference.
version: '2’
services:
apache3dspace:
image: httpd-2.4-dpplm
env_file:
- …/apache-1/container.env
- …/apache-1/mapping.env
volumes:
- “…/ssl:/usr/local/apache2/conf/ssl:Z”
- "…/apache-1/ssl.conf.d/:/usr/local/apache2/conf/ssl.conf.d:Z"
ports:
- “XX.XX.XX…15:80:80”
- "XX.XX.XX…15:443:443"
mem_limit: 100m
apachefederated:
image: httpd-2.4-dpplm
env_file:
- …/fapache-1/container.env
- …/fapache-1/mapping.env
volumes:
- “…/ssl:/usr/local/apache2/conf/ssl:Z”
- "…/fapache-1/ssl.conf.d:/usr/local/apache2/conf/ssl.conf.d:Z"
ports:
- “XX.XX.XX…186:80:80”
- "XX.XX.XX…186:443:443"
mem_limit: 100m
apachepassport:
image: httpd-2.4-dpplm
env_file:
- …/papache-1/container.env
- …/papache-1/mapping.env
volumes:
- “…/ssl:/usr/local/apache2/conf/ssl:Z”
- "…/papache-1/ssl.conf.d:/usr/local/apache2/conf/ssl.conf.d:Z"
ports:
- “XX.XX.XX…86:8000:80”
- "XX.XX.XX…86:443:443"
mem_limit: 100m