MySQL Error installing Seafile Server 7 on Windows 10 (via Docker)

Hello,
I’m trying to install the server using ‘docker-compose.yml’, and the mysql database is supposed to be stored in host drive ‘D:/seafile-mysql/db’.
But it’s unable to write to file ‘ibdata1’. What can I do?

seafile-mysql | 2019-09-19 15:45:48 139904563034112 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
seafile-mysql | 2019-09-19 15:45:48 7f3e11c83800 InnoDB: Error: Write to file ./ibdata1 failed at offset 0.
seafile-mysql | InnoDB: 1048576 bytes should have been written, only 0 were written.
seafile-mysql | InnoDB: Operating system error number 22.
seafile-mysql | InnoDB: Check that your OS and file system support files of this size.
seafile-mysql | InnoDB: Check also that the disk is not full or a disk quota exceeded.
seafile-mysql | InnoDB: Error number 22 means ‘Invalid argument’.
seafile-mysql | 2019-09-19 15:45:48 139904563034112 [ERROR] InnoDB: Error in creating ./ibdata1: probably out of disk space
seafile-mysql | 2019-09-19 15:45:48 139904563034112 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
seafile-mysql | 2019-09-19 15:45:48 139904563034112 [ERROR] Plugin ‘InnoDB’ init function returned error.
seafile-mysql | 2019-09-19 15:45:48 139904563034112 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
seafile-mysql | 2019-09-19 15:45:48 139904563034112 [ERROR] Unknown/unsupported storage engine: InnoDB
seafile-mysql | 2019-09-19 15:45:48 139904563034112 [ERROR] Aborting

Fixed it by assigning a Docker volume, instead of mounting Windows directory.