yobasystems / alpine-mariadb

MariaDB running on Alpine Linux [Docker]
https://hub.docker.com/r/yobasystems/alpine-mariadb/
237 stars 71 forks source link

Doesn't start since update #9

Closed tadly closed 6 years ago

tadly commented 6 years ago

Getting this while starting. /usr/bin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2 "No such file or directory")

This is how I test.

services:
  test-db:
    container_name: test-db
    image: yobasystems/alpine-mariadb:latest
    environment:
      MYSQL_ROOT_PASSWORD: secret
    restart: always
dominictayloruk commented 6 years ago

Ive just reverted the line

echo "!includedir /etc/mysql/conf.d/" >>/etc/mysql/my.cnf \

You need to bind mount that directory, and place your custom config.

I need to make it slightly more elegant so i'll revert till i can resolve it for those with no custom config.