# Error response from daemon: network driver not supported by this platform

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

## Root Cause

The specified Docker network driver (e.g., macvlan, ipvlan, overlay) is not available or supported on the current host OS or kernel configuration.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| Docker 24.0.7 | active | — | — |
| Docker 25.0.2 | active | — | — |
| Windows Server 2022 | active | — | — |
| Linux Kernel 5.15 | active | — | — |

## Workarounds

1. **Load necessary kernel modules: sudo modprobe macvlan && sudo modprobe ipvlan, then retry.** (85% success)
   ```
   Load necessary kernel modules: sudo modprobe macvlan && sudo modprobe ipvlan, then retry.
   ```
2. **If using overlay network, ensure Docker swarm mode is initialized: docker swarm init** (80% success)
   ```
   If using overlay network, ensure Docker swarm mode is initialized: docker swarm init
   ```
3. **On Windows, use a supported network driver like 'nat' or 'transparent' instead: docker network create -d transparent mynet** (70% success)
   ```
   On Windows, use a supported network driver like 'nat' or 'transparent' instead: docker network create -d transparent mynet
   ```

## Dead Ends

- **sudo apt-get install --reinstall docker-ce** — Reinstalling Docker does not add missing kernel modules or features. (80% fail)
- **docker network create -d bridge mynet** — Using 'docker network create -d bridge' creates a bridge, but does not enable macvlan or overlay. (70% fail)
- **echo 1 > /proc/sys/net/ipv4/ip_forward** — Setting kernel parameters without loading modules does not enable the driver. (60% fail)
