pluginMain: remove uses of DockerCLI.Apply by thaJeztah · Pull Request #13240 · docker/compose

@thaJeztah

The Apply method was added when CLI options for constructing the CLI were
rewritten into functional options in [cli@7f207f3]. There was no mention
in the pull request of this method specifically, and we want to remove or
reduce functions that mutate the CLI configuration after initialization
if possible (and likely remove the `Apply` method).

This patch removes the use of the `Apply` function as an intermediate step;
improvements will be made in the CLI itself for a more solid implementation.

[cli@7f207f3]: docker/cli@7f207f3

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

This was referenced

Sep 24, 2025

tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request

Oct 10, 2025