Error uploading mysql container (with volume)

0

Good Night. I'm learning docker and I can not upload a MySQL container when I add a volume mapping . Follow the errors and the docker-compose.yml file below. I'm using the docker toolbox in windows 10.

mysql_teste  | 2018-01-21 22:37:02 7ff0031ee740  InnoDB: Operating system 
error number 22 in a file operation.
mysql_teste  | InnoDB: Error number 22 means 'Invalid argument'.
mysql_teste  | InnoDB: Some operating system error numbers are described at
mysql_teste  | InnoDB: http://dev.mysql.com/doc/refman/5.6/en/operating-
system-error-codes.html
mysql_teste  | 2018-01-21 22:37:02 32 [ERROR] InnoDB: File ./ib_logfile101: 
'aio write' returned OS error 122. Cannot continue operation
mysql_teste exited with code 141
    
asked by anonymous 21.01.2018 / 23:40

1 answer

0

You've probably overwritten a MySQL system folder, not the data folder. At first the error ...

mysql_teste | 2018-01-21 22:37:02 7ff0031ee740 InnoDB: Operating system error number 22 in a file operation. mysql_teste | InnoDB: Error number 22 means 'Invalid argument'.

... denotes a configuration failure that may range from the non-existence of the configuration file to incorrect formatting (CRLF vs. LF), among other things. Or mysql getting a parameter (the name of the cnf file) wrong / nonexistent.

    
26.01.2018 / 02:59