Anyone know how to pass the custom ‘my.cnf’ file to the /etc/mysql/conf.d in the docker build. In native docker build, it can be passed via ‘-v’ switch but how can it be created via a docker-compose yaml file. Any documentation available to download the file via git or via some other mechanism?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
My.cnf files located incorrectly with MySQL 5.7 Docker Image | 2 | 7662 | September 21, 2022 | |
Unable to mount MySQL configuration file on Windows | 0 | 1551 | October 5, 2021 | |
Persistent Mariadb storage | 1 | 17184 | November 25, 2020 | |
MariaDB doesn't create configuration files when sharing a directory using volumes | 0 | 410 | June 27, 2020 | |
MariaDB doesn’t create configuration files when sharing a directory using volumes | 5 | 3731 | July 15, 2020 |