Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Allow adding paths to cliPluginsExtraDirs via env var

Open
#5,993 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
cli

Research direction

Start by tracing how Docker CLI reads the cliPluginsExtraDirs setting from .docker/config.json and how other environment variables are handled. Define the expected path-list syntax using DOCKER_CLI_PLUGINS_EXTRA_DIRS, including how it combines with configured directories. Done means the environment variable adds plugin search paths without requiring config-file changes, with coverage for the documented usage.

Written by the indexing model from the issue text.

Description

area/plugins kind/feature status/0-triage
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"
Dominant language
Go
Stars
6.1k
Forks
2.2k
Avg merge
1d 10h
Merged PRs (30d)
47

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from docker/cli

All issues in docker/cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.