You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Be aware that environment variable added in command line will be available at any time
294
294
in the container. In this example if someone manage to open a terminal in this container
@@ -299,28 +299,28 @@ he will be able to read the admin password in clear text from environment variab
299
299
For example if your environment files **my-env.yaml** and **my-env.yaml.startup** are in /data/ldap/environment
300
300
301
301
docker run --volume /data/ldap/environment:/container/environment/01-custom \
302
-
--detach osixia/openldap:1.1.3
302
+
--detach osixia/openldap:1.1.4
303
303
304
304
Take care to link your environment files folder to `/container/environment/XX-somedir` (with XX < 99 so they will be processed before default environment files) and not directly to `/container/environment` because this directory contains predefined baseimage environment files to fix container environment (INITRD, LANG, LANGUAGE and LC_CTYPE).
305
305
306
306
Note: the container will try to delete the **\*.yaml.startup** file after the end of startup files so the file will also be deleted on the docker host. To prevent that : use --volume /data/ldap/environment:/container/environment/01-custom**:ro** or set all variables in **\*.yaml** file and don't use **\*.yaml.startup**:
307
307
308
308
docker run --volume /data/ldap/environment/my-env.yaml:/container/environment/01-custom/env.yaml \
309
-
--detach osixia/openldap:1.1.3
309
+
--detach osixia/openldap:1.1.4
310
310
311
311
#### Make your own image or extend this image
312
312
313
313
This is the best solution if you have a private registry. Please refer to the [Advanced User Guide](#advanced-user-guide) just below.
314
314
315
315
## Advanced User Guide
316
316
317
-
### Extend osixia/openldap:1.1.3 image
317
+
### Extend osixia/openldap:1.1.4 image
318
318
319
319
If you need to add your custom TLS certificate, bootstrap config or environment files the easiest way is to extends this image.
0 commit comments