We have an issue where mysql fails as soon as we try to use a local volume to store persistent data (docker-compose file below). It comes up with a long list of errors:
[Warning] [MY-012579] [InnoDB] fallocate(17, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, 0, 16384) returned errno: 22
We have tried already the option: "command: “–innodb_use_native_aio=0” as this was suggested elsewhere. Without the local volume the mysql container works flawless. Would appreciate any hints.
mysql:
image: mysql/mysql-server:latest
container_name: mysql
command: “–innodb_use_native_aio=0”
ports:
- 3306:3306
volumes:
- “/C/Users/reparaturo/chatbot/mysql:/var/lib/mysql”