Common Issues - Pilothouse-App/Pilothouse GitHub Wiki

Error Cannot start service {service}: Mounts denied

This error occurs when Docker tries to mount a directory from the host into a container, but the path on the host is not whitelisted in the Docker File Sharing settings.

For security, Docker only allows whitelisted paths on the host to be mounted inside containers. By default, the user's home directory is whitelisted in the Docker File Sharing settings.

Pilothouse mounts two locations from the user's home directory by default: Files in the ~/.pilothouse directory, and the Sites directory (configured to ~/Sites by default).

Both the whitelisted paths in the Docker File Sharing settings and the Sites directory setting in Pilothouse are configurable, so if you have changed these defaults and either of the two paths mounted by Pilothouse are not whitelisted in Docker, you will receive the Mounts denied error when starting Pilothouse.