Windows 10上的docker-mariadb无法启动

时间:2019-11-14 18:41:35

标签: windows docker mariadb

在Windows 10上使用Docker Desktop v2.1.0.4

我在“设置”中启用了实验功能。

我正在尝试运行https://hub.docker.com/_/mariadb中mariadb dockerhub docker run --name some-mariadb -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mariadb:latest给出的命令

2019-11-14 18:34:56+00:00 [Note] [Entrypoint]: Database files initialized
2019-11-14 18:34:56+00:00 [Note] [Entrypoint]: Starting temporary server
2019-11-14 18:34:56+00:00 [Note] [Entrypoint]: Waiting for server startup
2019-11-14 18:34:56 0 [Note] mysqld (mysqld 10.4.10-MariaDB-1:10.4.10+maria~bionic) starting as process 126 ...
2019-11-14 18:34:56 0 [Note] InnoDB: Using Linux native AIO
2019-11-14 18:34:56 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-11-14 18:34:56 0 [Note] InnoDB: Uses event mutexes
2019-11-14 18:34:56 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-11-14 18:34:56 0 [Note] InnoDB: Number of pools: 1
2019-11-14 18:34:56 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-11-14 18:34:56 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
2019-11-14 18:34:56 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
2019-11-14 18:34:56 0 [Note] InnoDB: Completed initialization of buffer pool
2019-11-14 18:34:56 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2019-11-14 18:34:56 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-11-14 18:34:56 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-11-14 18:34:56 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-11-14 18:34:57 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2019-11-14 18:34:57 0 [Note] InnoDB: Waiting for purge to start
2019-11-14 18:34:57 0 [Note] InnoDB: 10.4.10 started; log sequence number 139827; transaction id 21
2019-11-14 18:34:57 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-11-14 18:34:57 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2019-11-14 18:34:57 0 [Note] InnoDB: Buffer pool(s) load completed at 191114 18:34:57
2019-11-14 18:34:57 0 [Warning] 'user' entry 'root@b78a8d99a45b' ignored in --skip-name-resolve mode.
2019-11-14 18:34:57 0 [Warning] 'user' entry '@b78a8d99a45b' ignored in --skip-name-resolve mode.
2019-11-14 18:34:57 0 [Warning] 'proxies_priv' entry '@% root@b78a8d99a45b' ignored in --skip-name-resolve mode.
2019-11-14 18:34:57 0 [Note] Reading of all Master_info entries succeeded
2019-11-14 18:34:57 0 [Note] Added new Master_info '' to hash table
2019-11-14 18:34:57 0 [Note] mysqld: ready for connections.
Version: '10.4.10-MariaDB-1:10.4.10+maria~bionic'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  mariadb.org binary distribution
2019-11-14 18:34:57+00:00 [Note] [Entrypoint]: Temporary server started.
2019-11-14 18:34:58 9 [ERROR] InnoDB: Cannot rename './mysql/time_zone.ibd' to './mysql/#sql-ib20.ibd' because the source file does not exist.
ERROR 1030 (HY000) at line 10: Got error 194 "Tablespace is missing for a table" from storage engine InnoDB

我尝试了10.1、10.2、10.3标签,尽管10.1略有不同,但还是一样。我尝试通过docker run --name some-mariadb -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mariadb:latest --lower_case_table_names=1添加lower_case_table_names = 1选项仍然是同样的问题。

我在Google上搜索了很多,所有搜索都导致有人在启动时遇到此错误

2016-10-18 13:14:06 140161674901440 [ERROR] Unknown/unsupported storage engine: InnoDB
2016-10-18 13:14:06 140161674901440 [ERROR] Aborting

预先感谢

0 个答案:

没有答案
相关问题