docker / for-win

Bug reports for Docker Desktop for Windows
https://www.docker.com/products/docker#/windows
1.86k stars 288 forks source link

Windows: could not find plugin bridge in v1 plugin registry: plugin not found #13927

Open dvgoyeneche opened 7 months ago

dvgoyeneche commented 7 months ago

Description

In Docker desktop, for windows container is not possible to create a bridged network

Reproduce

docker network create networkName2 --driver bridge Error response from daemon: could not find plugin bridge in v1 plugin registry: plugin not found

Expected behavior

No response

docker version

Client:
 Cloud integration: v1.0.29
 Version:           20.10.20
 API version:       1.41
 Go version:        go1.18.7
 Git commit:        9fdeb9c
 Built:             Tue Oct 18 18:28:44 2022
 OS/Arch:           windows/amd64
 Context:           default
 Experimental:      true

Server: Docker Desktop 4.13.0 (89412)
 Engine:
  Version:          20.10.20
  API version:      1.41 (minimum version 1.24)
  Go version:       go1.18.7
  Git commit:       03df974
  Built:            Tue Oct 18 18:23:34 2022
  OS/Arch:          windows/amd64
  Experimental:     false

docker info

Client:
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc., v0.9.1)
  compose: Docker Compose (Docker Inc., v2.12.0)
  dev: Docker Dev Environments (Docker Inc., v0.0.3)
  extension: Manages Docker extensions (Docker Inc., v0.2.13)
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc., 0.6.0)
  scan: Docker Scan (Docker Inc., v0.21.0)

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 4
 Server Version: 20.10.20
 Storage Driver: windowsfilter
  Windows:
 Logging Driver: json-file
 Plugins:
  Volume: local
  Network: ics internal l2bridge l2tunnel nat null overlay private transparent
  Log: awslogs etwlogs fluentd gcplogs gelf json-file local logentries splunk syslog
 Swarm: inactive
 Default Isolation: hyperv
 Kernel Version: 10.0 19045 (19041.1.amd64fre.vb_release.191206-1406)
 Operating System: Windows 10 Pro Version 2009 (OS Build 19045.4046)
 OSType: windows
 Architecture: x86_64
 CPUs: 4
 Total Memory: 16GiB
 Name: giteaActRunnerWindows
 ID: FJJD:2QIZ:VTBY:X4W6:N7WV:DU4L:CQQJ:IRSQ:3MWR:XOWC:CKSQ:YDZW
 Docker Root Dir: C:\ProgramData\Docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Product License: Community Engine

Diagnostics ID

h

Additional Info

No response

robmry commented 7 months ago

Hi @dvgoyeneche ... that's right, Docker networking is a bit different for Windows containers.

The Windows nat driver is similar to the bridge driver - Microsoft document the options here ... https://learn.microsoft.com/en-us/virtualization/windowscontainers/container-networking/network-drivers-topologies