Adding volume to docker database breaks container

Despite having 777 permissions, the MySQL server will not bind to a directory unless the owner is also changed to mysql:mysql