What services does this image provide
This image type is a very basic Univention Corporate Server (UCS) memberserver which can be used as a base to install applications into it for later shipping. It doesn't include the usual UCS Management Console and no web server. It requires internet access to download additional software.
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.intranet \ -e nameserver1=<IP of nameserver for the container> \ -e rootpwd=<Chosen password> -p 8010:80 \ -e container=docker \ -v /sys/fs/cgroup:/sys/fs/cgroup:ro \ --tmpfs /run --tmpfs /run/lock \ --cap-add=SYS_ADMIN \ univention/ucs-appbox-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-appbox-amd64:4.2-2.
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 need to be be configured via command line. In the example above the port 8010 of the docker host is redirected to the port 80 of the container, this is just an example and may need adjustment for specific applications.
For more Information see the UCS manual.