Skip to content
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

com.docker.backend.exe is locking random files in latest stable release #5624

Closed
1 task done
Strandedpirate opened this issue Jan 28, 2020 · 12 comments
Closed
1 task done

Comments

@Strandedpirate
Copy link

  • I have tried with the latest version of my channel (Stable or Edge)

Expected behavior

Files not to be randomly locked by docker.

Actual behavior

Random files are being locked.

This script worked fine prior to install of latest stable release:

===============================
Removing files via git clean...
===============================
git clean -Xfd wordpress
Unlink of file 'wordpress/wp-links-opml.php' failed. Should I try again? (y/n)

image

Information

  • Windows Version:
    image

  • Docker Desktop Version:
    image

  • Are you running inside a virtualized Windows e.g. on a cloud server or on a mac VM: no

Steps to reproduce the behavior

  1. git clean -Xfd wordpress
  2. random files are locked by com.docker.backend.exe

image

@Strandedpirate
Copy link
Author

Most likely related to issues in #5567

@spaceneenja
Copy link

spaceneenja commented Feb 27, 2020

also having this issue while using npm/yarn

@hardcoremore
Copy link

hardcoremore commented Mar 11, 2020

I am having the same issue with 2.2.0.3 (42716).

image

image

@mat007
Copy link
Member

mat007 commented Mar 11, 2020

We think this has now been fixed in our master branch.
Here is a link to a Stable 2.2.0.4 RC build which fixes a few more issues related to file sharing: https://download-stage.docker.com/win/stable/43291/Docker%20Desktop%20Installer.exe
If you can reproduce your issue with it we would very much like a diagnostic (Troubleshoot windows from the systray menu) and/or reproduction steps.

Many thanks!

@hardcoremore
Copy link

hardcoremore commented Mar 11, 2020

File lock issue is gone but now another issue is present:

Docker-Error

@mat007
Copy link
Member

mat007 commented Mar 11, 2020

@hardcoremore it’s hard to tell what this is about with just a screenshot, could you explain what you’re doing and upload a diagnostic (Troubleshot window from the systray menu)?
Thanks!

@hardcoremore
Copy link

Well I am trying just to delete the file. Both host (windows) and container are telling me that file does not exists. How can I Troubleshot window from the systray menu?

@mat007
Copy link
Member

mat007 commented Mar 11, 2020

image

I can see you’re trying to delete a file, but I have no idea how that involves Docker Desktop or what you were doing with containers before you got that issue.

@hardcoremore
Copy link

I have uploaded diagnostic. Check it out here: #5985

@hardcoremore
Copy link

hardcoremore commented Mar 11, 2020

I can see you’re trying to delete a file, but I have no idea how that involves Docker Desktop or what you were doing with containers before you got that issue.

File was created with php inside container. I tried to delete it from host (windows) and file is visible inside explorer but could not be deleted because it says that file could not be found. Also file could not be deleted from inside container as well. It also says that file does not exists.

@stephen-turner
Copy link
Contributor

The original issue in this ticket is fixed in 2.2.0.4. The new issue is unrelated but is now being dealt with in #5985, so I'll close this ticket.

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Jul 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants