# Error response from daemon: network macvlan is not supported on this platform

- **ID:** `docker/network-driver-not-supported-on-windows`
- **Domain:** docker
- **Category:** config_error
- **Verification:** ai_generated
- **Fix Rate:** 90%

## Root Cause

Attempting to use a network driver (e.g., macvlan, ipvlan) that is not available on Windows or certain Linux kernel configurations.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| Docker Desktop 4.25.0 | active | — | — |
| Docker Engine 24.0.5 | active | — | — |

## Workarounds

1. **Use bridge network driver instead: 'docker network create --driver bridge mynet' for cross-container communication.** (95% success)
   ```
   Use bridge network driver instead: 'docker network create --driver bridge mynet' for cross-container communication.
   ```
2. **On Linux, ensure the kernel module is loaded: 'sudo modprobe macvlan' and check with 'lsmod | grep macvlan'.** (80% success)
   ```
   On Linux, ensure the kernel module is loaded: 'sudo modprobe macvlan' and check with 'lsmod | grep macvlan'.
   ```

## Dead Ends

- **** — Installing additional Docker plugins does not enable macvlan on Windows; the driver is Linux-only. (100% fail)
- **** — Switching to Docker Desktop WSL 2 backend on Windows may still not support macvlan due to Hyper-V limitations. (90% fail)
