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
288
288
in the container. In this example if someone manage to open a terminal in this container
@@ -293,28 +293,28 @@ he will be able to read the admin password in clear text from environment variab
293
293
For example if your environment files **my-env.yaml** and **my-env.yaml.startup** are in /data/ldap/environment
294
294
295
295
docker run --volume /data/ldap/environment:/container/environment/01-custom \
296
-
--detach osixia/openldap:1.1.1
296
+
--detach osixia/openldap:1.1.2
297
297
298
298
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).
299
299
300
300
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**:
301
301
302
302
docker run --volume /data/ldap/environment/my-env.yaml:/container/environment/01-custom/env.yaml \
303
-
--detach osixia/openldap:1.1.1
303
+
--detach osixia/openldap:1.1.2
304
304
305
305
#### Make your own image or extend this image
306
306
307
307
This is the best solution if you have a private registry. Please refer to the [Advanced User Guide](#advanced-user-guide) just below.
308
308
309
309
## Advanced User Guide
310
310
311
-
### Extend osixia/openldap:1.1.1 image
311
+
### Extend osixia/openldap:1.1.2 image
312
312
313
313
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