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

Docker desktop for windows 2.3.0.3 breaks MariaDB alter table again #7024

Closed
Daemach opened this issue Jun 2, 2020 · 9 comments
Closed

Docker desktop for windows 2.3.0.3 breaks MariaDB alter table again #7024

Daemach opened this issue Jun 2, 2020 · 9 comments

Comments

@Daemach
Copy link

Daemach commented Jun 2, 2020

The problem mentioned in #5604 is happening now in 2.3.0.3. I am using a bound volume. Alter table to add columns crashes with this error:

Error on rename of './coldbox/#sql-alter-1-b' to './coldbox/users' (errno: 16 "Device or resource busy")

@mat007
Copy link
Member

mat007 commented Jun 3, 2020

Could you tell us a bit more about how you run this? A compose file maybe?

@Daemach
Copy link
Author

Daemach commented Jun 3, 2020 via email

@Daemach
Copy link
Author

Daemach commented Jun 5, 2020

Can I get you more information on this? I'm about to give up on docker and just install it locally. Every time I try to add or rename a column the database has to be dropped and recreated.

@Daemach
Copy link
Author

Daemach commented Jun 5, 2020

Error on rename of './coldbox/#sql-alter-1-44' to './coldbox/users' (errno: 16 "Device or resource busy")

@mat007
Copy link
Member

mat007 commented Jun 9, 2020

Running compose with the compose file you provided seems to be working fine for me, do I need to do something else to trigger the issue?

@Daemach
Copy link
Author

Daemach commented Jun 9, 2020

Renaming columns or tables triggers it, but it's semi-random.

@L1yp
Copy link

L1yp commented Jul 23, 2020

My docker works the same way on wsl2., docker cp cannot manipulate files in containers.

For example:

docker cp nginx.conf nginx-web:/etc/nginx/nginx.conf
> Error response from daemon: Error processing tar file (exit status 1): unlinkat / etc/nginx/nginx.conf: device or resource busy
docker exec -it nginx-web rm -f /etc/nginx/nginx.conf
> rm: cannot remove '/etc/nginx/nginx.conf': Device or resource busy

@docker-robott
Copy link
Collaborator

Issues go stale after 90 days of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30 days of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

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

@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 Dec 20, 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

4 participants