Univention Bugzilla – Bug 39870
Produce "official" Docker appliance images
Last modified: 2019-01-03 07:22:57 CET
Docker offers a build service which pulls a Dockerfile from github. If it follows certain guidelines the image is supposed to be advertised as "official" on hub.docker.com. This might be a good way to advertise UCS as an appliance and we should aim at getting the images currently available on https://hub.docker.com/u/univention/ into that status. The Dockerfile and scripts used to build the ucs-stem-amd64 image are already committed into ucs-4.1/internal/univention-docker-dev. They should be commited to github in a way that is accepted for official Docker image builds. Additionally the scripts for building ucs-generic-amd64:4.1-0 and ucs-master-amd64:4.1-0 and the other role images should be integrated into a Dockerfile following the example of ucs-stem-amd64 and uploaded. +++ This bug was initially created as a clone of Bug #39187 +++ We should create UCS 4.1 docker images and upload them to the docker hub.
hi is there a chance to please get the dockerfiles and possible installation scripts to reproduce, how a container-installation works? I aim to install UCS in an LXC-Container, which does not work starting with an wheezy container. any prerequisites? tia
Sorry, the link I posted is not usable, I'll think about a way to make the scripts and Dockerfiles available.
Same requirement here. I would like to run UCS in an LXC container too. Are there any dockerfiles, howtos, guides, checklists or notes, that would help someone, who is experienced in debian/ubuntu server administration?
We have a Debian source package containing the scripts and Dockerfile templates. On a UCS 4.1-4 system this can be installed simply by running the following two commands: ucr set repository/online/unmaintained='yes' univention-install univention-docker-dev You can also directly download the package from http://updates.software-univention.de/4.1/unmaintained/component/4.1-4-errata/all/ or http://updates.software-univention.de/4.1/unmaintained/component/4.1-4-errata/sources/ With the files installed to /usr/share/univention-docker-dev: 1. A debootstrapped UCS "minbase" image can be created with: /usr/share/univention-docker-dev(scripts/create-minbase-image.sh \ http://updates.software-univention.de/4.1/maintained/4.1-3/ 2. Building on that, a "stem" image can be created, containing files common to all UCS server roles: /usr/share/univention-docker-dev/scripts/create-docker-ucs-stem-image.sh \ 4.1-3 3. Building on that "stem" image, either a "generic" or a specific role image can be created, e.g. a master: /usr/share/univention-docker-dev/scripts/create-docker-ucs-role-image.sh \ 4.1-3 master The result should be exactly what https://hub.docker.com/u/univention/ provides.
Typo in URL above: http://updates.software-univention.de/4.1/unmaintained/component/4.1-4-errata/source/
Thanks. This helps a lot.
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.