Skip to content

Add ~/.config/docker-java/configuration.properties as a configuration source #2563

Description

@etki

Hi. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions