Docker Mac hard-locked during mariadb/percona db import

It appears this issue is related to file transfer speed, which has already been discussed here: File access in mounted volumes extremely slow, CPU bound