varchashva / LetsMapYourNetwork

Lets Map Your Network enables you to visualise your physical network in form of graph with zero manual error
GNU General Public License v3.0
440 stars 77 forks source link

neo4j error when docker-compose up #29

Open 7h30th3r0n3 opened 2 years ago

7h30th3r0n3 commented 2 years ago

Hi ! uname -a : Linux x-modified-x 5.16.0-kali3-amd64 #1 SMP PREEMPT Debian 5.16.11-1kali1 (2022-03-03) x86_64 GNU/Linux

docker-compose version: docker-compose version 1.29.2, build unknown docker-py version: 5.0.3 CPython version: 3.9.10 OpenSSL version: OpenSSL 1.1.1m 14 Dec 2021

I have issue when i try to deploy the project with sudo docker-compose up.

i got this error :

ERROR: for lmyn_neo4j_1 "host" network_mode is incompatible with port_bindings ERROR: for neo4j "host" network_mode is incompatible with port_bindings [...] File "/usr/lib/python3/dist-packages/docker/types/containers.py", line 336, in init raise host_config_incompatible_error( docker.errors.InvalidArgument: "host" network_mode is incompatible with port_bindings

and nothing more... I am new with docker so i can't debug the issue ...

could you help ? :)

v0702 commented 2 years ago

You can edit the docker-composer.yml and remove all mentions of Port.