pelias / docker

Run the Pelias geocoder in docker containers, including example projects.
MIT License
314 stars 217 forks source link

network pelias_default was found but has incorrect label com.docker.compose.network set to "" #340

Closed sombriks closed 4 months ago

sombriks commented 4 months ago

Describe the bug

Not quite sure on what is happening but last week it was working. i was satisfied and performed a docker compose down.

Now i tried the very same thing, as the docs point to do, and it fails in the very first command. see sample bellow.

Steps to Reproduce

installed and configured docker on a fresh install of fedora 39. did that in a virtual machine as well, same results

Expected behavior

Environment (please complete the following information):

uname -a
Linux fedora 6.5.6-300.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Oct  6 19:57:21 UTC 2023 x86_64 GNU/Linux

docker --version
Docker version 25.0.3, build 4debf41

Pastebin/Screenshots

pelias elastic create
grep: aviso: \ perdida antes de #:
WARN[0000] a network with name pelias_default exists but was not created by compose.
Set `external: true` to use an existing network 
network pelias_default was found but has incorrect label com.docker.compose.network set to ""

Additional context

References

sombriks commented 4 months ago

Quick update: things work just fine on mac

 uname -a
Darwin hornet.local 22.6.0 Darwin Kernel Version 22.6.0: Tue Nov  7 21:42:27 PST 2023; root:xnu-8796.141.3.702.9~2/RELEASE_ARM64_T8103 arm64

 docker --version
Docker version 25.0.3, build 4debf41
sombriks commented 4 months ago

ok i tried the process today again in the linux machine and looks like the pelias_default network dangling around (no idea how since the same error came in a clean virtual machine), manually deleting that network made everything work as expected.