myt/docker/docker-start.sh

11 lines
252 B
Bash
Raw Normal View History

2020-11-14 01:38:56 +00:00
#!/bin/bash
# XXX: Workaround to avoid OverlayFS bug on MacOs
# https://docs.docker.com/storage/storagedriver/overlayfs-driver/#limitations-on-overlayfs-compatibility
if [ "$RUN_CHOWN" = "true" ]; then
chown -R mysql:mysql /mysql-data
fi
exec "$@"