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

[BUG] Error decoding 'labels' with Docker Compose v2 2.23.0 #734

Closed
2 tasks done
TheophileDiot opened this issue Oct 26, 2023 · 1 comment
Closed
2 tasks done

[BUG] Error decoding 'labels' with Docker Compose v2 2.23.0 #734

TheophileDiot opened this issue Oct 26, 2023 · 1 comment
Assignees
Labels
bug Something isn't working docker Docker integration swarm Swarm integration

Comments

@TheophileDiot
Copy link
Member

What happened?

When executing the command docker-compose up I get an error

How to reproduce?

Have Docker Compose v2 2.23.0 installed and try to up an example

Configuration file(s) (yaml or .env)

Any example docker-compose file

Relevant log output

1 error(s) decoding:

* error decoding 'labels': invalid label ["bunkerweb.INSTANCE"]

BunkerWeb version

All versions

What integration are you using?

Docker

Linux distribution (if applicable)

No response

Removed private data

  • I have removed all private data from the configuration file and the logs

Code of Conduct

  • I agree to follow this project's Code of Conduct
@TheophileDiot TheophileDiot added bug Something isn't working docker Docker integration swarm Swarm integration labels Oct 26, 2023
@TheophileDiot TheophileDiot self-assigned this Oct 26, 2023
@TheophileDiot
Copy link
Member Author

To fix this problem you just have to edit your docker compose file and change these lines :

labels:
      - "bunkerweb.INSTANCE"

To these :

labels:
      - "bunkerweb.INSTANCE=yes"

For some reason Docker Compose changed the way labels work and it creates this issue.

@fl0ppy-d1sk fl0ppy-d1sk pinned this issue Oct 31, 2023
@bunkerity bunkerity locked as resolved and limited conversation to collaborators Oct 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working docker Docker integration swarm Swarm integration
Projects
None yet
Development

No branches or pull requests

1 participant