Closed jones1008 closed 2 years ago
Just a quick update: I'm looking at getting CI going with windows runners so its easier for me to test these things.
I think the better solution here is to mount it as read only. There is an example in the readme to accomplish this (notice the ro
flag in the end)!
$ docker run -it --rm --name=mariadb -v $(pwd)/config/my.cnf:/etc/my.cnf.d/my.cnf:ro
Will close this for now, please let me know if the warning still persists.
On windows under certain permission conditions (dependent on folder location) there is the following warning at container startup:
On Windows this should be reproducable with the following
docker-compose.yml
and under a path likeC:\mariadb-alpine-permission-bug
:A possible solution would be to add a
chmod 0444 /etc/my.cnf.d/my.cnf
to therun.sh
after line 11.I might be file another PR to fix this, once my other PR (#57) is merged