Skip to content

Allow adding paths to cliPluginsExtraDirs via env var #5993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
leighmcculloch opened this issue Apr 7, 2025 · 0 comments
Open

Allow adding paths to cliPluginsExtraDirs via env var #5993

leighmcculloch opened this issue Apr 7, 2025 · 0 comments

Comments

@leighmcculloch
Copy link

leighmcculloch commented Apr 7, 2025

Description

When setting up some systems, and in dotfiles, it would be really helpful if it was possible to add paths to the cliPluginsExtraDirs config via an environment variable, similar to how the PATH variable works.

It isn't often easy to modify the .docker/config.json file, or store it premade, since so many different parameters find their way into the config.

It'd be amazing if we could add paths by doing:

export DOCKER_CLI_PLUGINS_EXTRA_DIRS="$DOCKER_CLI_PLUGINS_EXTRA_DIRS:/home/username/my/path"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants