How to connect database with openldap server to store the user credentials

I complete the server setup with docker but failed to store the credentials of the users.

docker run --volume /data/slapd/database:/var/lib/ldap 
--volume /data/slapd/config:/etc/ldap/slapd.d 
--detach osixia/openldap:1.3.0

this what I done so far with docker volume command. but when i again saved the credential and down the docker server all data get lost.

I want to display all the saved credentials on the left panel of the ldap server for that I need the database. Refer the image
enter image description here

Source: StackOverflow