-
Notifications
You must be signed in to change notification settings - Fork 287
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
Comments
Could you tell us a bit more about how you run this? A compose file maybe? |
version: '3.6'
# if no version is specificed then v1 is assumed. Recommend v2 minimum
volumes:
sql-data:
networks:
IPCDNet:
services:
mysql:
image: mariadb:10.5
container_name: ipcd_dbase
environment:
MYSQL_ROOT_PASSWORD: '2h2=he2+E'
volumes:
- type: bind
source: ./data
target: /var/lib/mysql
# - type: bind
# source: ./database/backups
# target: /var/opt/mssql/backups
ports:
- 3306:3306
networks:
- IPCDNet
restart: always
adminer:
image: adminer:latest
restart: always
ports:
- 8080:8080
networks:
- IPCDNet
|
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. |
Error on rename of './coldbox/#sql-alter-1-44' to './coldbox/users' (errno: 16 "Device or resource busy") |
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? |
Renaming columns or tables triggers it, but it's semi-random. |
My docker works the same way on wsl2., docker cp cannot manipulate files in containers. For example:
|
Issues go stale after 90 days of inactivity. Prevent issues from auto-closing with an 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. |
Closed issues are locked after 30 days of inactivity. 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. |
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")
The text was updated successfully, but these errors were encountered: