https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html TLDR; Instead of ~/.docker, configuration should be in the $XDG_CONFIG_HOME/docker/