# Error response from daemon: create volume: volume driver "local" is not supported on this platform

- **ID:** `docker/volume-driver-not-supported`
- **Domain:** docker
- **Category:** config_error
- **Verification:** ai_generated
- **Fix Rate:** 78%

## Root Cause

The Docker installation is missing or has a misconfigured volume plugin for the 'local' driver, often due to incomplete installation on non-standard Linux distributions or Windows with WSL2 issues.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| Docker Desktop 4.27.0 | active | — | — |
| Docker Engine 24.0.5 | active | — | — |
| Docker CE 25.0.1 | active | — | — |

## Workarounds

1. **Check if the docker-volume-local plugin is installed and enabled: 'docker plugin ls'. If missing, install it with 'docker plugin install --grant-all-permissions vieux/sshfs' or reinstall the Docker package that includes the local driver plugin.** (80% success)
   ```
   Check if the docker-volume-local plugin is installed and enabled: 'docker plugin ls'. If missing, install it with 'docker plugin install --grant-all-permissions vieux/sshfs' or reinstall the Docker package that includes the local driver plugin.
   ```
2. **On Windows with WSL2, ensure that the Docker Desktop WSL2 backend is properly configured: go to Settings > Resources > WSL Integration and enable integration for your WSL distro, then restart Docker Desktop.** (85% success)
   ```
   On Windows with WSL2, ensure that the Docker Desktop WSL2 backend is properly configured: go to Settings > Resources > WSL Integration and enable integration for your WSL distro, then restart Docker Desktop.
   ```
3. **If using a custom Docker root directory, verify that the volume plugin path is correctly set in /etc/docker/daemon.json with the 'volume-plugin' option, e.g., {"volume-plugin": "/usr/lib/docker/plugins"}.** (75% success)
   ```
   If using a custom Docker root directory, verify that the volume plugin path is correctly set in /etc/docker/daemon.json with the 'volume-plugin' option, e.g., {"volume-plugin": "/usr/lib/docker/plugins"}.
   ```

## Dead Ends

- **** — The issue is often a missing plugin configuration, not the Docker engine itself; reinstalling may not fix the plugin path or driver registration. (50% fail)
- **** — The error is about the volume driver not being supported, not about directory existence; Docker will still fail to create the volume via the driver. (90% fail)
- **** — Other drivers may also be unsupported if the plugin infrastructure is broken; this is a workaround that may not resolve the root cause. (40% fail)
