Closed joostdecock closed 3 months ago
Hey there, thanks for making this available 🙏 Very useful for unit testing 👍
I wanted to load my custom LDIF, and followed the instructions from the Docker README:
docker run -it --rm \ -p 10389:10389 \ -v `pwd`:/mnt \ kwart/ldap-server \ java -jar ldap-server.jar /mnt/custom.ldif
However, this does seem to re-use the command when running it from source, but inside the container the java -jar ldap-server.jar is already happening, so to load a custom LDIF you do:
java -jar ldap-server.jar
docker run -it --rm \ -p 10389:10389 \ -v `pwd`:/mnt \ kwart/ldap-server \ /mnt/custom.ldif
Not the end of the world obviously, but a small docs improvement, and perhaps this issue can help others who face a similar problem.
Thanks again.
Hey there, thanks for making this available 🙏 Very useful for unit testing 👍
I wanted to load my custom LDIF, and followed the instructions from the Docker README:
However, this does seem to re-use the command when running it from source, but inside the container the
java -jar ldap-server.jar
is already happening, so to load a custom LDIF you do:Not the end of the world obviously, but a small docs improvement, and perhaps this issue can help others who face a similar problem.
Thanks again.