Closed freeurcom closed 1 month ago
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 https://github.com/docker/compose/issues/12137 and because it's not a bug in this repository
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
docker info
Additional Info
No response