docker挂在本地盘mysql无法启动_docker禅道开源版不挂载镜像可以启动,挂载镜像后mysql无法启动...

docker禅道启动镜像时,不挂载目录可以正常启动,

docker run -d -p 8080:80 -p 3306:3306 -e USER="admin" -e PASSWD="123456" -e BIND_ADDRESS="false" --name zentao-server idoop/zentao:latest

挂载目录后mysql无法正常启动

docker run -d -p 8080:80 -p 3306:3306 -e USER="admin" -e PASSWD="123456" -e BIND_ADDRESS="false"

-v E:\docker\docker_volumes\zbox:/opt/zbox

--name zentao-server idoop/zentao:latest

查看mysql日志

2020-07-15  1:55:19 0 [Note] Using unique option prefix 'innodb-locks' is error-prone and can break in the future. Please use the full name 'innodb-locks-unsafe-for-binlog' instead.

2020-07-15  1:55:19 0 [Note] Using unique option prefix 'innodb-cmp' is error-prone and can break in the future. Please use the full name 'innodb-cmp-per-index-enabled' instead.

2020-07-15  1:55:19 0 [Note] Using unique option prefix 'innodb-cmp-per-index' is error-prone and can break in the future. Please use the full name 'innodb-cmp-per-index-enabled' instead.

2020-07-15  1:55:19 0 [Note] Plugin 'InnoDB' is disabled.

2020-07-15  1:55:19 0 [Note] Using unique option prefix 'innodb-sys-tables' is error-prone and can break in the future. Please use the full name 'innodb-sys-tablestats' instead.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_CMPMEM' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_FT_DELETED' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_CMP_RESET' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.

2020-07-15  1:55:19 0 [Note] Using unique option prefix 'innodb-buffer-page' is error-prone and can break in the future. Please use the full name 'innodb-buffer-page-lru' instead.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_BUFFER_PAGE_LRU' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'FEEDBACK' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.

2020-07-15  1:55:19 0 [Note] Using unique option prefix 'innodb-sys-foreign' is error-prone and can break in the future. Please use the full name 'innodb-sys-foreign-cols' instead.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_SYS_FOREIGN_COLS' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_BUFFER_POOL_STATS' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_TRX' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_METRICS' is disabled.

2020-07-15  1:55:19 0 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.

2020-07-15  1:55:19 0 [Warning] /opt/zbox/run/mysql/mysqld: unknown variable 'loose-innodb-ft-inserted=0'

2020-07-15  1:55:19 0 [Note] Server socket created on IP: '0.0.0.0'.

2020-07-15  1:55:19 0 [ERROR] Can't start server : Bind on unix socket: Input/output error

2020-07-15  1:55:19 0 [ERROR] Do you already have another mysqld server running on socket: /opt/zbox/tmp/mysql/mysql.sock ?

2020-07-15  1:55:19 0 [ERROR] Aborting

你可能感兴趣的:(docker挂在本地盘mysql无法启动_docker禅道开源版不挂载镜像可以启动,挂载镜像后mysql无法启动...)