Skip to content

network_mode error while trying to setup via docker-compose #13

@anirudh-chhangani

Description

@anirudh-chhangani

Command

docker-compose up -d

Error

Creating lighthouse-metrics_prometheus_1 ...
ERROR: for lighthouse-metrics_grafana_1  "host" network_mode is incompatible with port_bindings
ERROR: for lighthouse-metrics_prometheus_1  "host" network_mode is incompatible with port_bindings
ERROR: for grafana  "host" network_mode is incompatible with port_bindings
ERROR: for prometheus  "host" network_mode is incompatible with port_bindings```

docker

Client: Docker Engine - Community
 Version:           19.03.13
 API version:       1.40
 Go version:        go1.13.15
 Git commit:        4484c46d9d
 Built:             Wed Sep 16 17:02:55 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.13
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       4484c46d9d
  Built:            Wed Sep 16 17:01:25 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.3.7
  GitCommit:        8fba4e9a7d01810a393d5d25a3621dc101981175
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

docker-compose

docker-compose version 1.27.4, build unknown
docker-py version: 4.4.0
CPython version: 3.7.3
OpenSSL version: OpenSSL 1.1.1d  10 Sep 2019

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions