Hi,
Thank for the link ,
i tried to run your image but the container fails after few seconds .
Seems that you forgot to create /var/run/dirsrv folder in Dockerfile .
the server crashes with :
DEBUG: DEBUG: starting with ['/usr/sbin/ns-slapd', '-D',
'/etc/dirsrv/slapd-localhost', '-i',
'/var/run/dirsrv/slapd-localhost.pid']
CRITICAL: Error: Failed to start DS, removing incomplete installation...
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/lib389/instance/setup.py", line 654, in
create_from_args
self._install_ds(general, slapd, backends)
File "/usr/lib/python3.6/site-packages/lib389/instance/setup.py", line 862, in
_install_ds
ds_instance.start(timeout=60)
File "/usr/lib/python3.6/site-packages/lib389/__init__.py", line 1170, in
start
raise ValueError('Failed to start DS')
ValueError: Failed to start DS
It works fine now,
I start to write my k8s configuration .
If you can just remind me where i can find documentation on lib389 used in your
dscontainer python script ?
Keep you informed