Skip to content

feat(commands): add --project-directory flag for alternate working directory#99

Open
w1zdun wants to merge 1 commit into
Mcrich23:mainfrom
w1zdun:feat/ProjectDirectorySwitch
Open

feat(commands): add --project-directory flag for alternate working directory#99
w1zdun wants to merge 1 commit into
Mcrich23:mainfrom
w1zdun:feat/ProjectDirectorySwitch

Conversation

@w1zdun

@w1zdun w1zdun commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Docker Compose ships --project-directory to override the working directory independently of the process CWD. Needed when running compose from a parent dir with -f pointing to a nested compose file.

Resolution priority: --project-directory > process.cwd > currentDirectoryPath. Applies to up, down, and build commands via shared ComposeFileOptions.

…rectory

Docker Compose ships --project-directory to override the working directory
independently of the process CWD. Needed when running compose from a parent
dir with -f pointing to a nested compose file.

Resolution priority: --project-directory > process.cwd > currentDirectoryPath.
Applies to up, down, and build commands via shared ComposeFileOptions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant