Skip to content

[Bug]: [Windows] Error response from daemon: could not find plugin bridge in v1 plugin registry: plugin not found #3631

@eschcam

Description

@eschcam

Testcontainers version

0.41.0

Using the latest Testcontainers version?

Yes

Host OS

Windows

Host arch

x86

Go version

1.26

Docker version

Client:
   Version:           29.3.1
   API version:       1.54
   Go version:        go1.25.8
   Git commit:        c2be9cc
   Built:             Wed Mar 25 16:16:33 2026
   OS/Arch:           windows/amd64
   Context:           default
  
  Server: Docker Engine - Community
   Engine:
    Version:          29.3.1
    API version:      1.54 (minimum version 1.40)
    Go version:       go1.25.8
    Git commit:       f78c987a
    Built:            Wed Mar 25 16:13:29 2026
    OS/Arch:          windows/amd64
    Experimental:     false

Docker info

Client:
   Version:    29.3.1
   Context:    default
   Debug Mode: false
  
  Server:
   Containers: 0
    Running: 0
    Paused: 0
    Stopped: 0
   Images: 0
   Server Version: 29.3.1
   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 splunk syslog
   CDI spec directories:
    /etc/cdi
    /var/run/cdi
   Swarm: inactive
   Default Isolation: process
   Kernel Version: 10.0 26100 (26100.1.amd64fre.ge_release.240331-1435)
   Operating System: Microsoft Windows Server Version 24H2 (OS Build 26100.32522)
   OSType: windows
   Architecture: x86_64
   CPUs: 2
   Total Memory: 7.995GiB
   Name: runnervm3zftq
   ID: 7457b8cb-e4ee-4f2f-9c2a-f8385cec4d12
   Docker Root Dir: C:\Users\runneradmin\setup-docker-action\run-230b57d8\moby-root
   Debug Mode: false
   Username: githubactions
   Experimental: false
   Insecure Registries:
    ::1/128
    127.0.0.0/8
   Live Restore Enabled: false
   Product License: Community Engine

What happened?

I was attempting to use testcontainer-go inside GitHub Actions when I got the error.
I used the following config as part of my workflow

  Test:
    # Run Test after Build, even if it fails
    if: ${{ always() }}
    needs: Build

    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ ubuntu-latest, windows-latest, macos-26-intel ]
    steps:
      - uses: actions/checkout@v4
      - uses: docker/setup-docker-action@v5
        if: runner.os != 'linux' # Linux runner comes with Docker by default
        with:
          set-host: 'true'
      - uses: actions/setup-go@v6
        with:
          go-version: '1.26'
          cache-dependency-path: |
            api/go.sum
            dashboard/go.sum

      - name: Test API
        run: cd api && go test -v ./...

Relevant log output

2026/04/01 18:25:37 github.com/testcontainers/testcontainers-go - Connected to docker: 
  Server Version: 29.3.1
  API Version: 1.51
  Operating System: Microsoft Windows Server Version 24H2 (OS Build 26100.32522)
  Total Memory: 8186 MB
  Testcontainers for Go Version: v0.41.0
  Resolved Docker Host: npipe:////./pipe/setup_docker_action
  Resolved Docker Socket Path: //./pipe/setup_docker_action
  Test SessionID: 782ae34e0a189fbbadf6fdf38ff74110b94e0d62f6f87ba015faf54effcee896
  Test ProcessID: 872dc021-5700-4fc4-9fb9-461241d597be
panic: run postgres: generic container: create container: ensure default network: network create: Error response from daemon: could not find plugin bridge in v1 plugin registry: plugin not found

goroutine 1 [running]:
pr-tracker-api.TestMain(0x35f72690fa0)
	D:/a/pr-tracker/pr-tracker/api/db_test.go:75 +0x91
main.main()

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue with the library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions