mysql 5.7 docker file
时间:2021-07-01 10:21:17
帮助过:17人阅读
hub.c.163
.com/library/centos:latest
MAINTAINER zhenweilai <181282945
@qq.com>
COPY mysql57-community-release-el7-11
.noarch.rpm /usr/local
RUN cd /usr/local && yum localinstall -y mysql57-community-release-el7-11
.noarch.rpm && yum install -y mysql-community-server
COPY my.cnf /etc
RUN mysqld --initialize-insecure && /usr/sbin/mysqld --daemonize
my.cnf
[mysqld]
user=mysql
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
symbolic-links=0
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
max_connections=2000
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
mysql 5.7 docker file
标签:ble err erro .so moni dir from test arch