Mount equivalent for --volume /var
succeeds on Docker-CE/Linux, but fails on Docker Desktop for WSL2
#473
Labels
--volume /var
succeeds on Docker-CE/Linux, but fails on Docker Desktop for WSL2
#473
Preflight checklist
Ory Network Project
No response
Describe the bug
Note, I've seen and read issue #274.
A Docker-related unit test using a
/var
(sic!) mount succeeds correctly on Docker CE 24.0.5 on Linux/Ubuntu, but fails with Docker Desktop 24.0.2 on WSL2/Ubuntu. While I don't have hard proof I suspect an issue with theMountParser
.In the unit test https://github.com/thediveo/whalewatcher/blob/d4f3b7b22eb1d0b7a4e9d8a1474991b871444e83/engineclient/containerd/containerd_test.go#L139 I'm doing the equivalent of the following CLI command:
When running this CLI command on WSL2 with Docker Desktop, it succeeds. In contrast, the corresponding dockertest
RunWithOptions
fails on WSL2, whereas it succeeds on Docker CE:Reproducing the bug
https://github.com/thediveo/whalewatcher/blob/d4f3b7b22eb1d0b7a4e9d8a1474991b871444e83/engineclient/containerd/containerd_test.go#L139:
Relevant log output
No response
Relevant configuration
Version
github.com/ory/dockertest/v3 v3.10.0
On which operating system are you observing this issue?
Windows
In which environment are you deploying?
Other
Additional Context
No response
The text was updated successfully, but these errors were encountered: