gaiterjones/docker-magento2

Mac Docker File Share issue

Closed this issue · 2 comments

Trying to get this running on a mac. I am getting the following with the docker-compose up -d step:

Error response from daemon: Mounts denied:
The path /home/docker/data/magento2/mysql is not shared from the host and is not known to Docker.

I did have to change the varnish version in the docker-compose.yml to use version 7 as 6 was throwing an error when trying to download the image.

Sorry, found the issue to change the path. But probably a good FYI on the docs and the varnish version.

Thanks for pointing that out. The volumes are there to persist data and can either be commented out or used by setting the path in .env