Univention Bugzilla – Bug 38274
Nameserver & domainname setting
Last modified: 2015-11-17 12:12:13 CET
By default a docker container gets the resolv.conf from the docker server. In UCS environments the resolv.conf contains the right nameserver setting and the correct domainname. Thus, the docker /sbin/init script should read the resolv.conf before committing it. Furthermore, it should be possible to set the values via environment variables such as: -e domainname=foo.local -e UCS_NAMESERVER1=10.201.42.1 The environment variable are preferable.
Ok, I named the variables to match UCR: -e domainname=foo.local -e nameserver1=10.201.42.1
Please merge the changes to 4.1.
Merged to 4.1 with commits 63270 (svn copy) & 63271 (version bump).
OK, it still works.
UCS 4.1 has been released: https://docs.software-univention.de/release-notes-4.1-0-en.html https://docs.software-univention.de/release-notes-4.1-0-de.html If this error occurs again, please use "Clone This Bug".