What services does this image provide
This image type provides an UCS generic UCS appliance.
How to use this image
A new container running Univention Corporate Server (UCS) can be started with
docker run -d --name dockertest_container --hostname=dockertest \ -e domainname=testdomain.internet \ -e nameserver1=<IP of nameserver for the container> \ -e rootpwd=<Chosen password> -p 8015:80 \ -e container=docker \ -v /sys/fs/cgroup:/sys/fs/cgroup:ro \ --tmpfs /run --tmpfs /run/lock \ --cap-add=SYS_ADMIN \ univention/ucs-generic-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-generic-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 dockertest_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 8015 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>:8015.
For more Information see the UCS manual.