-
Notifications
You must be signed in to change notification settings - Fork 414
Mounts denied for /socket_mnt/.../docker.sock with Docker Desktop when running supabase start #3593
Description
Describe the bug
When running supabase start on Fedora with Docker Desktop, the process fails with a "Mounts denied" error specifically for the Docker Desktop socket path (/socket_mnt/home//.docker/desktop/docker.sock). This occurs even though Docker Desktop's file sharing is configured to share the parent directory (/home//.docker/desktop), and basic Docker operations (like docker run hello-world and mounting regular files from the same directory) work correctly. The issue seems to be specific to Docker Desktop denying the mount of its own socket when requested by Supabase CLI.
To Reproduce
Steps to reproduce the behavior:
- Initialize a new Supabase project: supabase init (accept defaults).
- Attempt to start the Supabase services: supabase start.
- Observe the process, which proceeds through database migrations and seeding.
- See error: failed to start docker container: Error response from daemon: Mounts denied: The path /socket_mnt/home/skirja/.docker/desktop/docker.sock is not shared from the host and is not known to Docker
Expected behavior
supabase start should successfully start all local Supabase services without any "Mounts denied" errors, allowing for local development.
System information
Rerun the failing command with --create-ticket flag.
- Ticket ID: 8d5d10aac33249ab92b8d2aa1eb050d5
- Version of OS: Fedora Linux 42 (Workstation Edition)
- Version of CLI: 2.23.4
- Version of Docker: Docker version 28.1.1, build 4eba377

