ofreax 10 年 前
コミット
f3b9cea1f1
1 ファイル変更2 行追加0 行削除
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -279,6 +279,8 @@ For example if your environment files **my-env.yaml** and **my-env.yaml.startup*
 	docker run --volume /data/ldap/environment:/container/environment/01-custom \
 	--detach osixia/openldap:1.1.0
 
+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).
+
 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**.
 
 #### Make your own image or extend this image