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.internet \ -e nameserver1=<IP of nameserver for the container> \ -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 \ 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-1 . The 4.2-x versions are implemented as Docker layers.
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.
Please note that there is no pre-defined root password in the container. It is defined via docker run option and Univention encourages to use a strong password.
root PW=univention works like charm. Test it seconds ago.
Would like that, too. Are there any plans to publish 4.2 images?
please provide also version 4.2
root pass is not working