VM - drwxr-xr-x 1 docker staff 238 Dec 23 20:10 mysql-data/Īs to the container, it won't run with the volume mounted.
If you are unsure which process is causing the path mentioned in the error to be busy and. Users/me/Development/mysql-data:/var/lib/mysqlĪny ideas? I can't help but think it's something really simple. I was reading around and it may have something to do with how docker-machine handles permissions with OSX, but the documentation for docker-machine says that it mounts the /Users folder, so that shouldn't be an issue. I've tried every permutation I can think of to get this to work. Problem is, when I run it, it throws a permissions error: db_1 | 19:17:59 7facaa89b740 InnoDB: Operating system error number 13 in a file operation.ĭb_1 | InnoDB: The error means mysqld does not have the access rights to The MySQL container should mount a local folder where I'm storing my database data, so if the container or VM comes down, I can just restart it without data loss. In OSX 10.11.2 with docker-machine, I've got a docker-compose file that should build a local Dockerfile and attach a MySQL container to it.
I'm at my wit's end with this, so hopefully you folks can help me.