在mariadb官方泊坞窗图像上的InnoDB错误

我有一个非常奇怪的错误。 我已经能够把它归结为一个非常简单的情况,我不知道我是否发现了一个错误,或者如果我错过了一些观点。

事情是我需要一个mariadb容器,我可以使用以下命令完美运行它:

docker run -e MYSQL_ROOT_PASSWORD=my-secret-pw mariadb 

但是,它与以下docker-compose.yml文件失败:

 wordpress_db: image: mariadb environment: - MYSQL_ROOT_PASSWORD=foo 

它包括:

 wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [Note] InnoDB: The InnoDB memory heap is disabled 

我可以清楚地认识到的第一个信息是:

 wordpress_db_1 | InnoDB: No valid checkpoint found. 

(你可以在post末尾看到完整的输出)

这不会发生,如果我切换MySQL的mariadb。

谁能帮我?

谢谢!

输出:

 Starting miqueladell_wordpress_db_1 Attaching to miqueladell_wordpress_db_1 wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [Note] mysqld (mysqld 10.1.10-MariaDB-1~jessie) starting as process 1 ... wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [Note] InnoDB: Using mutexes to ref count buffer pool pages wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [Note] InnoDB: The InnoDB memory heap is disabled wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [Note] InnoDB: Memory barrier is not used wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [Note] InnoDB: Compressed tables use zlib 1.2.8 wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [Note] InnoDB: Using Linux native AIO wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [Note] InnoDB: Using SSE crc32 instructions wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [Note] InnoDB: Initializing buffer pool, size = 256.0M wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [Note] InnoDB: Completed initialization of buffer pool wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [Note] InnoDB: Highest supported file format is Barracuda. wordpress_db_1 | InnoDB: No valid checkpoint found. wordpress_db_1 | InnoDB: If this error appears when you are creating an InnoDB database, wordpress_db_1 | InnoDB: the problem may be that during an earlier attempt you managed wordpress_db_1 | InnoDB: to create the InnoDB data files, but log file creation failed. wordpress_db_1 | InnoDB: If that is the case, please refer to wordpress_db_1 | InnoDB: http://dev.mysql.com/doc/refman/5.6/en/error-creating-innodb.html wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [ERROR] Plugin 'InnoDB' init function returned error. wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [Note] Plugin 'FEEDBACK' is disabled. wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [ERROR] Unknown/unsupported storage engine: InnoDB wordpress_db_1 | 2016-01-11 14:33:25 140183257745344 [ERROR] Aborting wordpress_db_1 | miqueladell_wordpress_db_1 exited with code 1 

我不知道这应该是一个评论或答案,但我不想打字符限制,所以…

主要是回答@ tjheslin1,我怀疑这是否会有其他用途。

我已经有好几个月没有使用docker了,但是在某些时候,我确实设法使用这个代码:

https://github.com/MiquelAdell/mariadb-utf8mb4/blob/master/Dockerfile

我不确定当时的情况和我的环境有很多动人的东西。

我现在没有时间重新创造这样的环境来提供更多的帮助,但我不想让那些在那里徘徊的人永远等待。

我想我应该把问题解决得没有答案,因为我不能马上跟进。

对不起: – \