documentation:2.1:docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:2.1:docker [2019/01/15 15:55] (current)
Line 1: Line 1:
 +====== LemonLDAP::NG in Docker ======
 +
 +{{ :documentation:lemonldap-ng-docker.png?nolink |}}
 +
 +===== Presentation =====
 +
 +[[https://www.docker.com/|Docker]] allows do run application into containers.
 +
 +You can find a Docker image for LemonLDAP::NG in this repository: https://hub.docker.com/r/coudot/lemonldap-ng/
 +
 +See also this github project: https://github.com/LemonLDAPNG/lemonldap-ng-docker
 +
 +===== Usage =====
 +
 +Prerequisites:
 +
 +  * Add auth.example.com/manager.example.com/test1.example.com/test2.example.com to /etc/hosts on the host
 +
 +<code>echo "127.0.0.1 auth.example.com manager.example.com test1.example.com test2.example.com" | sudo tee -a /etc/hosts</code>
 +
 +  * Map the container port 80 to host port 80 (option -p)
 +
 +<code>docker run -d -p 80:80 coudot/lemonldap-ng</code>
 +
 +Then connect to http://auth.example.com with your browser and log in with dwho/dwho.