Skip to content
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

File /path/to/docker-compose.yml does not exist #70

Open
blestab opened this issue Jan 8, 2024 · 4 comments
Open

File /path/to/docker-compose.yml does not exist #70

blestab opened this issue Jan 8, 2024 · 4 comments

Comments

@blestab
Copy link

blestab commented Jan 8, 2024

I cd into my project folder.

$ docker run --rm -it --name dcv -v $(pwd):/input pmsipilot/docker-compose-viz render -m image ./docker-compose.yml

In functions.php line 35:

File "./docker-compose.yml" does not exist

render [--override OVERRIDE] [-o|--output-file OUTPUT-FILE] [-m|--output-format OUTPUT-FORMAT] [--graphviz-output-format GRAPHVIZ-OUTPUT-FORMAT] [--only ONLY] [-f|--force] [--no-volumes] [--no-networks] [--no-ports] [-r|--horizontal] [--ignore-override] [--background BACKGROUND] [--] []

I can confirm docker-compose.yml exists in the current working directory.

Am i missing something?

@karam-ajaj
Copy link

I have the same exact issue

@TimSpence
Copy link

I cannot reproduce this issue on Mac OS. What operating system are you running? I'm wondering if this could be a path separator issue.

@blestab
Copy link
Author

blestab commented Feb 13, 2024

Could be, I am using windows 11

@a-schyja
Copy link

a-schyja commented Aug 8, 2024

I had the same issue on Win11 and Powershell. Powershell added the slash at the beginning of the filepath due to completion .\docker-compose.yaml. After removing the .\ everything is working.

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

No branches or pull requests

4 participants