Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anirudh-chhangani opened this issue Nov 27, 2020 · 1 comment
Open

Comments

@anirudh-chhangani
Copy link

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
@anirudh-chhangani
Copy link
Author

Note: I was able to setup everything by removing port bindings in docker-compose.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant