-
Notifications
You must be signed in to change notification settings - Fork 4
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
'name' does not match any of the regexes: '^x-' #36
Comments
i had the same issue with docker-compose. but please try the compose version integrated in docker
For explanation: |
Thanks @KillerCodeMonkey for explanation. We didn't run into the issue as @ManuelB have mentioned. Cause we are using locally and in the CI environment the docker compose within the docker. Can I close this issue? |
@KillerCodeMonkey The proposed command is not working for me:
@sonerd I will open a pull request with my suggested fix. Feel free to ignore it :-) |
@ManuelB The reason why the command is not working on your machine, is that When I execute
As you @KillerCodeMonkey said. You are not using the docker compose from the docker itself. So the fix would work for environments as yours but I am not sure, if it work for other environments. |
yeah but it is not that hard to follow the https://docs.docker.com/compose/install/ instructions :D. in general just make sure you are using docker-compose v2 as standalone (https://docs.docker.com/compose/install/standalone/) or as part of docker The intial error occurs because of the usage of compose v1 (whether it comes with docker-desktop or standalone or somewhere else). Just install v2 and |
@ManuelB Hello Manuel, the reason for your problems with the Compose file would be the old docker compose version 1.29.2 . In newer Version of docker is the compose command integrated. Are you using docker under Linux / Ubuntu? The versions provided by them is very old. Docker provides an tutorial to integrate the official docker repository with the latest version, that should fix your problem. |
The docker-compose is the default one installed with apt install docker-compose on the most recent Ubuntu version oracular.
Adding a x- in front of name does solve this issue.
The text was updated successfully, but these errors were encountered: