Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Plugin bridge error with docker compose up

I have Docker Desktop installed for Windows 10.

When I do:

docker-compose up

I get an error:

Creating network "docker_sandbox" with driver "bridge" ERROR: could not find plugin bridge in v1 plugin registry: plugin not found

On the Docker site, they say Docker Compose comes installed with the desktop installation and should work out of box.

Do I need some configuration changes to get it working?

This is the docker-compose.yml file:

version: "3"

services:
  prometheus:
    image: prom/prometheus:v2.3.2
    volumes: ["./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml"]
    ports: ["9090:9090"]
    networks: ["sandbox"]

  grafana:
    image: grafana/grafana:5.2.1
    volumes: ["./grafana/plugins/cinnamon-prometheus-app:/var/lib/grafana/plugins/cinnamon-prometheus-app"]
    ports: ["3000:3000"]
    networks: ["sandbox"]
    depends_on: ["prometheus"]

networks:
  sandbox:
    driver: bridge
like image 224
Mandroid Avatar asked Jun 22 '26 17:06

Mandroid


1 Answers

If you're running in a Windows container mode, then here's what worked for me:

Update the network definition in the docker-compose to nat.

networks:
  elastic:
    driver: nat
like image 185
Bartosz Avatar answered Jun 25 '26 05:06

Bartosz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!