Error uploading mysql container (with volume)

Asked

Viewed 137 times

0

Good evening. I’m learning Docker and can’t move up a Mysql container when I add a mapping volume. Follow the errors and the Docker-Compose.yml file below. I am using 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
  • How is your image/Compose changing something in it? Is the volume from a different version of Mysql than the one you’re trying to climb now? Include more information, only with that it is kind of difficult. Anyway, see this question: https://stackoverflow.com/questions/34713146

1 answer

0

You probably overwritten a Mysql system folder and 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 can vary from the non-existence of the configuration file, to the wrong formatting (CRLF vs LF), among other things. Or mysql getting a parameter (cnf file name ) wrong/missing.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.