Allow --net=host which sets the hostname of the host.
Allow --net=host which sets the hostname of the host.

Addressing
docker: Error response from daemon: Conflicting options: hostname and the network mode.

adelton/docker-freeipa,joshuacox/docker-freeipa,freeipa/freeipa-container