Running in a container

A brief description on how to run web2ldap in a container

You can either use Docker or run as root-less containers using podman. For using podman you simply replace command docker by command podman in the instructions below.

Try out the example images for quick tests or develop your own custom container:

Dockerfile.debian-stable-venv
  • Based on Debian stable
  • PIP-based installation to virtual environment
Dockerfile.debian-bullseye-ae-dir-repo
Dockerfile.opensuse-tumbleweed-rpm
Dockerfile.opensuse-tumbleweed-venv

Build the container image with one of the above Docker files:

docker build --tag web2ldap --file Dockerfile.<flavor> .

Run with stand-alone web server by default listening port 1760:

docker run -p 1760:1760 web2ldap

Test by accessing the monitor page:

curl http://172.17.0.1:1760/web2ldap/monitor|html2text