-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
[BUG] "bind source path does not exist" on v2.24.0 #11345
Closed
pjsmith404 opened this issue
Jan 15, 2024
· 6 comments
· Fixed by compose-spec/compose-go#525 or #12208
Closed
[BUG] "bind source path does not exist" on v2.24.0 #11345
pjsmith404 opened this issue
Jan 15, 2024
· 6 comments
· Fixed by compose-spec/compose-go#525 or #12208
Labels
Comments
We run into this problem as well. It is fine on 2.23.3 |
Possible to update |
@derlin a bug-fix release is planned later this week |
the bug is still exist on v2.29.7 |
@snyh can't reproduce
|
Oh, I know the reason. I used the long syntax of bind mount. In this case, the target will not be cleaned up.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Hello,
On version 2.24.0 of docker compose, I get the following bind error when trying to run
docker compose up
, if the source directory does not already exist:I expect that if the source directory does not exist, it should be automatically created. If I revert back to version 2.23.3, the error does not occur and the directory is created automatically as expected.
I didn't see anything in the change logs that indicated an expected change to this behaviour. Apologies if I overlooked something.
Cheers,
Pat
Steps To Reproduce
/tmp/test.yml
with the following content:docker compose --file /tmp/test.yml up
Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /tmp/logs
/tmp/logs/
docker compose --file /tmp/test.yml up
.Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: