Add ~/.config/docker-java/configuration.properties as a configuration source · Issue #2563 · docker-java/docker-java
Repository navigation
Add ~/.config/docker-java/configuration.properties as a configuration source #2563
New issue
New issue
Open
Open
Add ~/.config/docker-java/configuration.properties as a configuration source #2563
Description
@etki's profile etki opened on Dec 16, 2025Hi. You are likely already familiar with this rant, i and probably many many user prefer having stuff organized per XDG conventions with clean home and nothing there besides own folders, .config, .local and .cache.
I ask to add secondary ~/.config/docker-java/configuration.properties or a similar path to the lookup in DefaultDockerClientConfig.createDefaultConfigBuilder(). This doesn't require full XDG convention spec support, but is still better than the current situation, and since the file is read-only, there's no real harm attached, except maybe for complex override situations (use env var to point to different sources, having ~/.config/... as the default) - but these overrides aren't available as of now too. The request for additional docker-java directory stems from the same headache of thousand unorganized configuration files in a single directory.
This is a request for an extra source, not replacing existing one. There is no problem with backward compatibility, primary source would be read as of today, nothing bad will happen from it.
Reacted by Jacek Bilski