What services does this image provide
This image type provides a UCS DC Master. It's implemented as a docker layer on top of the generic "stem" image.
How to use this image
A new container running Univention Corporate Server (UCS) can be started with
docker run -d --name master_container --hostname=master \ -e domainname=testdomain.intranet \ -e rootpwd=<Chosen password> -p 8011:80 \ -e container=docker \ -v /sys/fs/cgroup:/sys/fs/cgroup:ro \ --tmpfs /run --tmpfs /run/lock \ --cap-add=SYS_ADMIN \ --restart unless-stopped \ univention/ucs-master-amd64 /sbin/init
The capabilty "SYS_ADMIN" is required, because the systemd running as init process in the container requires access to the system call "name_to_handle_at", which standard docker denies via seccomp profile by default.
Specific versions can be downloaded by specifying the version tag, e.g. univention/ucs-master-amd64:4.2-2 . The 4.2-x versions are implemented as Docker layers. Optionally a nameserver can be specified for the container by passing the option "-e nameserver1=<IP of nameserver for the container>".
A shell in the docker container can be started as usual by running
docker exec -it master_container /bin/bash
The UCS services provided by the new docker container can easily be configured through the web based appliance setup wizard. In the example above the port 8011 of the docker host is redirected to the port 80 of the container. Thus, the HTTP port of the docker container can reached by typing http://<IP of the docker host>:8011.
For more Information see the UCS manual.