You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 2.29.3:
Using volumes in services defined in docker compose with short syntax (VOLUME:CONTAINER_PATH) give this error when doing "docker compose up": Error response from daemon: hcs::CreateComputeSystem : The request is not supported.
Version 2.29.5:
Using volumes in services defined in docker compose with short syntax (VOLUME:CONTAINER_PATH) give this error when doing "docker compose up": Error response from daemon: invalid mount config for type "bind": invalid propagation mode: rprivate.
This worked all fine, up until version 2.29.2, inclusively.
From Docker docs "Bind propagation defaults to rprivate for both bind mounts and volumes. It is only configurable for bind mounts, and only on Linux host machines."
We need to have this working again on Windows Host machines as well.
Please provide a fix or a workaround.
Steps To Reproduce
Environment: Windows Host Machines
Add any service in a docker compose file and define volumes with short syntax:
e.g.
services:
pretesting-sql.messagebus:
volumes:
- D:\deployment\ERP\pretesting\SQLServer\MessageBusDB\data:C:\ESDB\Data
- D:\deployment\ERP\pretesting\SQLServer\MessageBusDB\logs:C:\ESDB\Logs
- D:\deployment\ERP\pretesting\SQLServer\certs:C:\ESDB\Certs
Run docker compose up -d
The following happens:
Version 2.29.3:
Using volumes in services defined in docker compose with short syntax (VOLUME:CONTAINER_PATH) give this error when doing "docker compose up": Error response from daemon: hcs::CreateComputeSystem : The request is not supported.
Version 2.29.5:
Using volumes in services defined in docker compose with short syntax (VOLUME:CONTAINER_PATH) give this error when doing "docker compose up": Error response from daemon: invalid mount config for type "bind": invalid propagation mode: rprivate.
### Compose Version
```Text
Docker Compose version v2.29.3
Docker Compose version v2.29.5
regression on 2.29.5 is caused by cb00aaa - I would have expected windows container engine to just ignore the propagation parameter as it is not implemented - we unfortunately don't have windows container tests on CI.
I proposed a fix as #12138
error you reported on 2.29.3 is harder to diagnose. I checked docker run --mount xxx is well supported by windows containers, so this should work and the error message doesn't make it obvious what's wrong here. Investigation in progress ...
Tested my PR with a short-syntax bind mount on windows with windows-containers-enabled-engine and can't reproduce the reported issue. Would you have a chance to give it a try ?
Description
Version 2.29.3:
Using volumes in services defined in docker compose with short syntax (VOLUME:CONTAINER_PATH) give this error when doing "docker compose up": Error response from daemon: hcs::CreateComputeSystem : The request is not supported.
Version 2.29.5:
Using volumes in services defined in docker compose with short syntax (VOLUME:CONTAINER_PATH) give this error when doing "docker compose up": Error response from daemon: invalid mount config for type "bind": invalid propagation mode: rprivate.
This worked all fine, up until version 2.29.2, inclusively.
From Docker docs "Bind propagation defaults to rprivate for both bind mounts and volumes. It is only configurable for bind mounts, and only on Linux host machines."
We need to have this working again on Windows Host machines as well.
Please provide a fix or a workaround.
Steps To Reproduce
Environment: Windows Host Machines
Add any service in a docker compose file and define volumes with short syntax:
e.g.
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: