# LdapSaisie docker image

This docker image permit to test LdapSaisie using _LSexample_ test LDAP directory and configuration.

To use it, just run the following command :

```bash
docker run -it -p 8080:80 -h ldapsaisie.dev brenard/ldapsaisie:dev
```

You could access LdapSaisie using :
- your Web browser on http://127.0.0.1:8080 (credentials: `admin/admin`)
- the `ldapsaisie` CLI command (for instance: `ldapsaisie search LSpeople`, run `ldapsaisie --help` for details)
- the API on http://127.0.0.1/api (for instance: `curl -u admin:admin http://127.0.0.1/api/1.0/object/LSpeople|jq`, see [documentation](https://ldapsaisie.org/doc/all-in-one/LdapSaisie.html#api-methods) for details)
