-
Notifications
You must be signed in to change notification settings - Fork 665
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
Mirror.exe does not work in Docker container #1114
Comments
Hi @martin5233 , the logs seems to be missing. |
Hi @Liryna, I'm quite sure I attached them, but anyway I attached them a second time. |
Hi @Liryna, I have tried to follow the steps in #834.
Then I copied the contents of the dokan.zip package into the container and started a powershell inside. In this shell I changed to the Release\driver directory and ran
However
I have no idea, how I can get DbgView working inside the container as it seems to require its GUI. I attempted to run it on the command line passing /l to log the output to a file, but it returned immediately with no visible effect. |
For dokanctl to work you need the driver to be copied at the location it says. Looks like it is missing right now. Can you try to copy it there and redo the command ? I also haven't tried to run it in docker and I don't have the environment right now to try. |
I wasn't aware of this. After copying the .inf and the .sys file into C:\Windows\system32\drivers\dokan2.sys I got the same as in #834:
However a subsequent call to |
I also tried |
I believe Microsoft docker does not allow installing and starting drivers inside a container. |
Environment
Check List
Description
I am trying to run Dokany inside a Docker container with Windows Server 2019. My actual use case uses the fuse interface, but I was able to reproduce the issue using the mirror sample.
I am using the following simple Dockerfile:
The output of running the mirror executable via docker is attached.
I found the related issue #834, which was closed with the intention to open a new one, which I didn't find.
Logs
I have attached the output of mirror.log. DbgView did not output anything, when started with DbgView /K.
The text was updated successfully, but these errors were encountered: