cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to install Magento with Devbox - Cannot start service web: Mounts denied:

SOLVED

Unable to install Magento with Devbox - Cannot start service web: Mounts denied:

 

I am trying to install Magento 2 using docker and magento devbox.  Mac version 10.12.3

I'm getting the following error. Has anyone else come across this error?

 

MacBook-Pro:~ Brian$ cd /Applications/devbox/build1

MacBook-Pro:build1 Brian$ ./m2devbox-init.sh

Build docker images

Starting magento2devbox_web_7306c1c00fb0b.........

Starting magento2devbox_db_7306c1c00fb0bc.........

 

ERROR: for web  Cannot start service web: Mounts denied:  known to Docker.

You can configure shared paths from Docker -> Preferences... -> File Sharing.

See https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.

.

cations/devbox/build1/shared/logs/apache2

are not shared from OS X and are not

 

ERROR: for db  Cannot start service db: Mounts denied: /docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.

.

and /Applications/devbox/build1/shared/db

are not shared from OS X and are not known to Docker.

You can configure shared paths from Docker -> Preferences... -> File Sharing.

See https:/

ERROR: Encountered errors while bringing up the project.

ERROR: No container found for web_1

Install Magento

ERROR: No container found for web_1

MacBook-Pro:build1 Brian$

 

1 REPLY

Re: Unable to install Magento with Devbox - Cannot start service web: Mounts denied:

I have now fixed this error. Needed to set the permissions for the folder to Read and Write.