The current unit file for app-emulation/docker lacks the config option "EnvironmentFile=" --- # grep Env /usr/lib64/systemd/system/docker.service # --- The unit file needs to have : --- EnvironmentFile=/etc/conf.d/docker ---
I recommend to use daemon.json to configure docker instead.
(In reply to Manuel Rüger from comment #1) > I recommend to use daemon.json to configure docker instead. Fair point. Then I assume "EnvironmentFile=/etc/docker/daemon.json" would be more correct ?
No that daemon.json is a config file for docker daemon, not for the init manager.
(In reply to Manuel Rüger from comment #3) > No that daemon.json is a config file for docker daemon, not for the init > manager. okies, but then what? Do I just create the file under "/etc/docker" and pt my stuff there and be done? if this is documented somewhere by all means point me at it :)
See https://docs.docker.com/engine/reference/commandline/dockerd/#/linux-configuration-file for some documentation about daemon.json -- at the high level, you setup that file, restart the daemon, and you're done. :)
(In reply to Tianon from comment #5) > See > https://docs.docker.com/engine/reference/commandline/dockerd/#/linux- > configuration-file for some documentation about daemon.json -- at the high > level, you setup that file, restart the daemon, and you're done. :) Got it mate... thanks. Maybe I need a add some text to : https://wiki.gentoo.org/wiki/Docker Cos this confused me. Happy to close the bug since there is no real issue right? Some work on the Gentoo docs would be handy, I might look into that.
Updated the doco on the wiki. Should be fine. Thanks all