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
[BUG] Error since 2.29.3 when --force-recreate is used with container that mounts npipe - Error response from daemon: invalid mount config for type "bind": CreateFile \\.\pipe\docker_engine\
#12128
Open
mjusix opened this issue
Sep 16, 2024
· 6 comments
command: docker compose up -d --force-recreate <CONTAINER_NAME> --remove-orphans
I'm using a Admin-Powershell.
Steps To Reproduce
Install docker-ce for Windows (10, 11, Server 2019, etc.) Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/Windows-Containers/Main/helpful_tools/Install-DockerCE/install-docker-ce.ps1" -o install-docker-ce.ps1 .\install-docker-ce.ps1
I've updated now to 2.29.5, but I'm getting the following (new) error message: Error response from daemon: invalid mount config for type "bind": invalid propagation mode: rprivate
've updated now to 2.29.5, but I'm getting the following (new) error message:
Error response from daemon: invalid mount config for type "bind": invalid propagation mode: rprivate
@glours Same here, since we updated to docker-compose v2.29.5, we started getting followings errors while creating docker compose containers 👇
Error response from daemon: invalid mount config: must use either propagation mode \"rslave\" or \"rshared\" when mount source is within the daemon root, daemon root: \"/var/lib/docker\", bind mount source: \"xyz\", propagation: \"rprivate\""}
Also, I'd like to highlight that we are using Linux distro where we could reproduce this issue.
Description
With 2.29.3 the following docker-compose.yml in combination with the following command leads to an error:
docker-compose.yml:
command:
docker compose up -d --force-recreate <CONTAINER_NAME> --remove-orphans
I'm using a Admin-Powershell.
Steps To Reproduce
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/Windows-Containers/Main/helpful_tools/Install-DockerCE/install-docker-ce.ps1" -o install-docker-ce.ps1 .\install-docker-ce.ps1
choco install docker-compose --version=2.29.3 -y
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: