We have had various complaints in Docker eg see moby/moby#27067 that you cannot set the domainname, just the hostname. As runc has no way to set the domain name, we cannot easily implement this. Can we add a new optional field for domain name? It would exactly match hostname, except on Linux it would use the setdomainname(2) syscall not sethostname(2).
This is used by some applications eg NIS (where it originated as a field I believe).
Have not yet determined if Windows has a comparable field, it seems likely. Other Unixes certainly do.
Happy to add a patch (and in runc) if this is acceptable.
We have had various complaints in Docker eg see moby/moby#27067 that you cannot set the
domainname, just thehostname. Asrunchas no way to set the domain name, we cannot easily implement this. Can we add a new optional field for domain name? It would exactly match hostname, except on Linux it would use thesetdomainname(2)syscall notsethostname(2).This is used by some applications eg NIS (where it originated as a field I believe).
Have not yet determined if Windows has a comparable field, it seems likely. Other Unixes certainly do.
Happy to add a patch (and in
runc) if this is acceptable.