astonishing-byte-5433
09/08/2022, 5:55 PMvolumes:
- ../mysql/init.sql:/docker-entrypoint-initdb.d/init.sql
Throwing following error when running first time on a new machine and causing the mysql container to fail:
Can't initialize batch_readline - may be the input source is a directory or a block device.
After running the compose file a second time it doesn't throw this issue again and everything works fine.
Also removed the volume from the script and it seems to run fine on a fresh machine.