OpenRC hostname startup script needs the '-docker' keyword added
When OpenRC is used within docker, the hostname script attempts to run if it is started. It should instead contain ‘-docker’ in the keywords. The hostname is set by an option from the docker runtime itself.
(from redmine: issue id 8973, created on 2018-06-06)