Setting up a discourse dock on mac os

I follow the standard discourse installation guides on my local mac. After starting the configuration tool ./discourse-setup, I got an error message:

cd /pups && git pull && /pups/bin/pups --stdin
/usr/local/bin/docker: Error response from daemon: Mounts denied: er.com/docker-for-mac/osxfs/#namespaces for more info.
.
r/discourse/shared/standalone/log/var-log
are not shared from OS X and are not known to Docker.
You can configure shared paths from Docker -> Preferences... -> File Sharing.

Initially, I tried to install in my working directory inside / Users. This folder is located in the "File Sharing" section.

Then I installed the same error in the / var / discourse folder. I assumed that the folder is varnot in Docker File Sharing, so I tried to add the folder /varto the Docker partition files and received a message

The path /var is reserved by Docker

What could be the problem here?

+4
source share
1 answer

Docker Preferences β†’ File Sharing , /var, : /Applications/htdocs/myproject/ .

dialog screen shot

+1

Source: https://habr.com/ru/post/1652154/


All Articles