mysql if startwith_Unable to start mysql with docker on Ubuntu 16.04

Am Unable to start mysql with docker on Ubuntu. Get the following error:

db_1_cc1214d5085c | ERROR: mysqld failed while attempting to check config db_1_cc1214d5085c | command was: "mysqld --verbose --help" db_1_cc1214d5085c | db_1_cc1214d5085c | mysqld: error while loading shared libraries: libpthread.so.0: cannot stat shared object: Permission denied

Content of docker compose file:

version: '2.4'

services:

db:

image: mysql:5.7

ports:

- "32000:3306"

environment:

MYSQL_ROOT_PASSWORD: root

# restart: always

volumes:

- ./data/db:/var/lib/mysql

Docker details:

Client:

Version: 18.09.0

API version: 1.39

Go version: go1.10.4

Git commit: 4d60db4

Built: Wed Nov 7 00:48:57 2018

OS/Arch: linux/amd64

Experimental: false

Server: Docker Engine - Community

Engine:

Version: 18.09.0

API version: 1.39 (minimum version 1.12)

Go version: go1.10.4

Git commit: 4d60db4

Built: Wed Nov 7 00:16:44 2018

OS/Arch: linux/amd64

Experimental: false

Also worth noting is that there is a non dockerized versionof MySQL installed and running on this server. Any help will be appreciated.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值