-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Invalid Mount Config Error on Windows with Docker CE 27.2.1 #5453
Labels
Comments
This is a bug in compose, and you can temporarily downgrade the docker-compose plugin to an older version until v2.29.6 is released; see |
I'll close this ticket as duplicate of docker/compose#12137 and because it's not a bug in this repository |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
After updating Docker CE from version 24.x.x to 27.x.x on Windows Server 2022, I encountered an error when attempting to use bind mounts in a Docker Compose file. The error indicates an invalid mount configuration due to an invalid propagation mode (rshared or rprivate), which should not apply to Windows systems.
Actual behaviour
An error occurs, and the container fails to start. The error message is:
Error response from daemon: invalid mount config for type "bind": invalid propagation mode: rshared
Additional Information
Reproduce
Expected behavior
The MongoDB container starts successfully, with the host directory F:/phoenix-lej/data/db bound to C:/data/db inside the container.
docker version
Client: Version: 27.2.1 API version: 1.47 Go version: go1.22.7 Git commit: 9e34c9b Built: Fri Sep 6 12:09:12 2024 OS/Arch: windows/amd64 Context: default Server: Docker Engine - Community Engine: Version: 27.2.1 API version: 1.47 (minimum version 1.24) Go version: go1.22.7 Git commit: 8b539b8 Built: Fri Sep 6 12:08:06 2024 OS/Arch: windows/amd64 Experimental: false
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: