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 opentelemetry-demo was found but has incorrect label com.docker.compose.network set to "opentelemetry-demo" #1496

Closed
tekbuds opened this issue Apr 4, 2024 · 2 comments · Fixed by #1557
Labels
bug Something isn't working

Comments

@tekbuds
Copy link

tekbuds commented Apr 4, 2024

Bug Report

Which version of the demo you are using? (please provide either a specific

commit 59cdb0a (HEAD -> main, origin/main, origin/HEAD)

Symptom

On running
docker compose up --force-recreate --remove-orphans --detach

I see the below error:

WARN[0000] /root/sachin/opentelemetry-demo/docker-compose.yml: version is obsolete
network opentelemetry-demo was found but has incorrect label com.docker.compose.network set to "opentelemetry-demo"

I am running on SLES SP4

docker compose version
Docker Compose version v2.26.1

docker version
Client:
Version: 24.0.7-ce
API version: 1.43
Go version: go1.20.12
Git commit: 311b9ff0aa93
Built: Fri Oct 27 12:00:00 2023
OS/Arch: linux/amd64
Context: default

Server:
Engine:
Version: 24.0.7-ce
API version: 1.43 (minimum version 1.12)
Go version: go1.20.12
Git commit: 311b9ff0aa93
Built: Fri Oct 27 12:00:00 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.7.10
GitCommit: 4e1fe7492b9df85914c389d1f15a3ceedbb280ac
runc:
Version: 1.1.10
GitCommit: v1.1.10-0-g18a0cb0f32bc
docker-init:
Version: 0.1.7_catatonit
GitCommit:

@tekbuds tekbuds added the bug Something isn't working label Apr 4, 2024
@puckpuck
Copy link
Contributor

puckpuck commented Apr 7, 2024

This seems related to the version property now being optional in docker compose. I also see plenty of issues like this one, which are inter linked with several other repos and resolved around the same idea. It probably makes sense we remove the version property.

@puckpuck
Copy link
Contributor

puckpuck commented Apr 7, 2024

For the network issue. If you had the demo running before and upgraded docker, you may need to run a docker system prune. This issue and comment explains what to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants