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
-
- Based on Debian bullseye
- APT-based installation from Æ-DIR's APT package repo.
- Dockerfile.opensuse-tumbleweed-rpm
-
- Based on openSUSE Tumbleweed
- RPM-based installation like described in installation instructions for openSUSE and SLE
- Uses additional zypper repository (see also OBS package home:stroeder:iam/web2ldap )
- Dockerfile.opensuse-tumbleweed-venv
-
- Based on openSUSE Tumbleweed
- PIP-based installation to virtual environment
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