FROM registry.sindominio.net/debian RUN apt-get update && \ apt-get -qy install mariadb-server &&\ apt-get clean COPY 50-server.cnf /etc/mysql/mariadb.conf.d/50-server.cnf VOLUME /var/lib/mysql EXPOSE 3306 CMD ["/usr/bin/mysqld_safe"] #CMD ["/usr/bin/mysqld_safe","--log-error=/tmp/mysql.error.log"] #CMD ["/usr/bin/mysqld_safe"]